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

x/async_channels/src/pipe.ts>ChannelPipeOptions

Inspired by Go & Clojure Channels, async_channels provides channels as an asynchronous communication method between asynchronous functions.
Go to Latest
interface ChannelPipeOptions
implements ChannelOptions
Re-export
import { type ChannelPipeOptions } from "https://deno.land/x/async_channels@v1.0.0-rc5/src/pipe.ts";

Options for pipe operations.

Properties

optional
bufferSize: number

A safe and positive integer representing the channel buffer size. A bufferSize of 0 indicates a channel without any buffer.

optional
signal: AbortSignal

If provided, the pipe operation will halt when the signal is triggered.