Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/async_channels/channel.ts>Channel.from

Inspired by Go & Clojure Channels, async_channels provides channels as an asynchronous communication method between asynchronous functions.
Go to Latest
method Channel.from
import { Channel } from "https://deno.land/x/async_channels@v1.0.0-alpha45/channel.ts";

Parameters

input: Iterable<T> | AsyncIterable<T>
optional
bufferSize: number
optional
options: ChannelOptions