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

x/easyts/channel.ts>ReadCase#readRaw

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

Returns the value read by the case, throws an exception if the case is not ready

Returns

[undefined, false] | [T, true]