Skip to main content
Module

x/async_channels/mod.ts>select

Inspired by Go & Clojure Channels, async_channels provides channels as an asynchronous communication method between asynchronous functions.
Latest
function select
Re-export
import { select } from "https://deno.land/x/async_channels@v1.0.0-rc8/mod.ts";

Parameters

ops: []
optional
options: SelectOptions<never> | Omit<SelectOptions<never>, "default">

Returns

Promise<never>

Type Parameters

T
optional
TDefault = never

Parameters

optional
options: SelectOptions<TDefault> | Omit<SelectOptions<TDefault>, "default">

Type Parameters

T
optional
TDefault = never

Parameters

ops: Exclude<SelectOperation<T>[], []>
optional
options: SelectOptions<TDefault> | Omit<SelectOptions<TDefault>, "default">