Function delayCancellable

  • Parameters

    • ms: number

    Returns {
        cancel: (() => void);
        delay: Promise<void>;
    }

    • cancel: (() => void)
        • (): void
        • Returns void

    • delay: Promise<void>

Generated using TypeDoc