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

x/async_channels/src/channel.ts>AbortedError

Inspired by Go & Clojure Channels, async_channels provides channels as an asynchronous communication method between asynchronous functions.
Go to Latest
class AbortedError
extends Error
Re-export
import { AbortedError } from "https://deno.land/x/async_channels@v1.0.0-rc5/src/channel.ts";

The Error class used when get or send are aborted before completion.

Constructors

new
AbortedError(type: "send" | "get")