PollOptions

import { PollOptions } from "jsr:@ende/async";

interface

interface PollOptions

Options for poll.

Properties

signal

signal?: AbortSignal

Signal used to abort the polling.

interval

interval?: number

The interval in milliseconds between each poll.

Default: 1000

Source