ts-lambda-api - v2.5.2
    Preparing search index...

    Function flatMap

    • This method returns a new stream by applying the given callback to each chunk of the stream and then flattening the result.

      It is possible to return a stream or another iterable or async iterable from fn and the result streams will be merged (flattened) into the returned stream.

      Parameters

      Returns Readable

      a stream flat-mapped with the function fn.

      v17.5.0