Interface BufferingStreamOptions

interface BufferingStreamOptions {
    emitInterval?: number;
    maxChunkSize?: number;
}

Properties

emitInterval?: number

Amount of time in milliseconds to wait between the moment we start buffering data and when we emit the buffered chunk.

maxChunkSize?: number

Max size in bytes of the chunks being emitted.