WaitForOptions

import { WaitForOptions } from "jsr:@ende/async/unstable-wait-for";

interface ยท experimental

interface WaitForOptions

Options for waitFor.

Properties

signal

signal?: AbortSignal

Signal used to abort the waitFor.

step

step?: number

Indicates the step jump in time to wait for the predicate to be true.

Default: 100

Source