Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cockatiel/src/common/abort.ts>deriveAbortController

A resilience and transient-fault-handling library that allows developers to express policies such as Backoff, Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback. Inspired by .NET Polly.
Go to Latest
variable deriveAbortController
import { deriveAbortController } from "https://deno.land/x/cockatiel@v3.0.0-beta.0/src/common/abort.ts";

Creates a new AbortController that is aborted when the parent signal aborts.

type

(signal?: AbortSignal) => unknown