Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/easyts/mod.ts>Chan#read

js library written with ts, use select and chan like golang in js.
Latest
method Chan.prototype.read
import { Chan } from "https://deno.land/x/easyts@0.1.3/mod.ts";

Read a value from the channel, block if there is no value to read, and return until there is a value or the channel is closed