Interface DelayOptions

Options for delay.

interface DelayOptions {
    persistent?: boolean;
    signal?: AbortSignal;
}

Properties

Properties

persistent?: boolean

Indicates whether the process should continue to run as long as the timer exists.

{true}
signal?: AbortSignal

Signal used to abort the delay.