Type Alias DelayOpts

DelayOpts: Interval & {
    delay?: "before" | "after" | "both";
    signal?: AbortSignal;
}

Delay options

Type declaration

  • Optional Readonlydelay?: "before" | "after" | "both"

    When delay is applied. "before" is default.

  • Optional Readonlysignal?: AbortSignal

    Signal for cancelling delay