Type of items to be chunked
Collects items up to countLimit
, calling writer
before sizeLimit
would be exceeded.
Type of items to be chunked
Chunker options
Always call onIdle when done to ensure that the last writer
call is made.
Private
Readonly
_backgroundPrivate
Readonly
_errorsPrivate
Readonly
_iterablePrivate
_pendingPrivate
_pendingPrivate
Readonly
_writerAccumulated errors from background flushes
Number of items pending
Sum of the user-defined size of all pending items
Private
flushGenerated using TypeDoc
Collects items up to
countLimit
, callingwriter
beforesizeLimit
would be exceeded.Remarks
Always call onIdle when done to ensure that the last
writer
call is made.