interface RepeatingTaskOptions {
    runImmediately?: boolean;
    timeout?: number;
}

Properties

runImmediately?: boolean

Whether to schedule the task to run immediately

timeout?: number

How long the task is allowed to run before the passed AbortSignal fires an abort event