Skip to main content

BatchScheduler <Payload, Result>

Implemented by

Index

Methods

onSchedule

  • onSchedule(callback: (tasks: readonly Task<Payload, Result>[]) => void | Promise<void>): void
  • Parameters

    • callback: (tasks: readonly Task<Payload, Result>[]) => void | Promise<void>

      Returns void

    schedule

    • schedule(task: Task<Payload, Result>): void
    • Parameters

      • task: Task<Payload, Result>

      Returns void

    Page Options