Batcher
Defined in: src/batcher.ts:21
Type Parameters
Section titled “Type Parameters”I
R
Methods
Section titled “Methods”load()
Section titled “load()”load(
item,options?):Promise<R>
Defined in: src/batcher.ts:23
Queues the item for the next batch. Aborting signal (default: the ambient pipeline’s signal) rejects this call and, until the batch starts, drops the item from it.
Parameters
Section titled “Parameters”I
options?
Section titled “options?”signal?
Section titled “signal?”AbortSignal
Returns
Section titled “Returns”Promise<R>