Interface Scheduler

[[Scheduler]] calls a callback on the schedule determined by the implementation.

interface Scheduler {
    start(callback: () => void): void;
    stop(): void;
}

Implemented by

Methods

Methods

  • Schedules the callback according to the implementation.

    Parameters

    • callback: () => void

    Returns void