Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/yxz/async/queue.ts>TaskOptions

Deno Standard Extensions
Go to Latest
interface TaskOptions
import { type TaskOptions } from "https://deno.land/x/yxz@0.17.0/async/queue.ts";

Properties

readonly
optional
signal: AbortSignal

AbortSignal for cancellation of the operation. When aborted, it will be removed from the queue and the queue.add() call will reject with an AbortError. If the operation is already running, the signal will need to be handled by the operation itself.