• Projects each element of an async-iterable sequence into consecutive buffers which are emitted when either the threshold count or time is met.

    Type Parameters

    • TSource

      The type of elements in the source sequence.

    Parameters

    • count: number

      The size of the buffer.

    • time: number

      The threshold number of milliseconds to wait before flushing a non-full buffer

    Returns OperatorAsyncFunction<TSource, TSource[]>

    An operator which returns an async-iterable sequence of buffers

Generated using TypeDoc