ChannelReceiveOptions

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

interface

interface ChannelReceiveOptions

Options for Channel.receive.

Properties

signal

signal?: AbortSignal

An AbortSignal to cancel a pending receive. When the signal is aborted, the operation rejects with the signal's AbortSignal.reason. If a value is available synchronously, the signal is ignored.

Source