MicroTaskBatchScheduler <Payload, Result>
Implements
- BatchScheduler<Payload, Result>
Index
Constructors
Methods
Constructors
publicconstructor
Type parameters
- Payload
- Result
Parameters
optionalsignal: AbortSignal
Returns MicroTaskBatchScheduler<Payload, Result>
Methods
publiconSchedule
Parameters
callback: (tasks: readonly Task<Payload, Result>[]) => void | Promise<void>
Returns void
publicschedule
Parameters
task: Task<Payload, Result>
Returns void