@numaproj/numaflow-js - v0.0.0-alpha.4
    Preparing search index...

    Class Response

    Response class for batch map results. Each response corresponds to one input datum and can contain multiple output messages.

    const response = batchmap.Response.fromId(datum.id);
    response.append({ value: Buffer.from('result1'), keys: ['key1'] });
    response.append({ value: Buffer.from('result2'), keys: ['key2'] });
    Index

    Constructors

    Methods

    Constructors

    Methods