BatchScheduler <Payload, Result>
Methods
- onSchedule(callback: (tasks: readonly Task<Payload, Result>[]) => void | Promise<void>): void
Parameters
callback: (tasks: readonly Task<Payload, Result>[]) => void | Promise<void>
Returns void
- schedule(task: Task<Payload, Result>): void
Parameters
task: Task<Payload, Result>
Returns void