• Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • it-batched-bytes
  • default

Function default

  • default(source, options?): Iterable<Uint8Array>
  • Takes a stream of Uint8Arrays and/or Uint8ArrayLists and store them in an internal buffer. Either once the buffer reaches the requested size or the next event loop tick occurs, yield any bytes from the buffer.

    Parameters

    • source: Iterable<Uint8Array | Uint8ArrayList>
    • Optional options: BatchedBytesOptions

    Returns Iterable<Uint8Array>

    • Defined in index.ts:90
  • default(source, options?): AsyncIterable<Uint8Array>
  • Parameters

    • source: Iterable<Uint8Array | Uint8ArrayList> | AsyncIterable<Uint8Array | Uint8ArrayList>
    • Optional options: AsyncBatchedBytesOptions

    Returns AsyncIterable<Uint8Array>

    • Defined in index.ts:91
  • default<T>(source, options?): Iterable<Uint8Array>
  • Type Parameters

    • T

    Parameters

    • source: Iterable<T>
    • Optional options: BatchedObjectsOptions<T>

    Returns Iterable<Uint8Array>

    • Defined in index.ts:92
  • default<T>(source, options?): AsyncIterable<Uint8Array>
  • Type Parameters

    • T

    Parameters

    • source: Iterable<T> | AsyncIterable<T>
    • Optional options: AsyncBatchedObjectsOptions<T>

    Returns AsyncIterable<Uint8Array>

    • Defined in index.ts:93

Settings

Member Visibility

Theme

Documentation
  • Loading...

Generated using TypeDoc