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

x/easyts/mod.ts

js library written with ts, use select and chan like golang in js.
Latest
import * as easyts from "https://deno.land/x/easyts@0.1.3/mod.ts";

Classes

an asynchronous asset

The concrete realization of Channel

exception with error code

Create a Promise with a completion marker

mock golang defer

Base class for exceptions thrown by this library

Combined into a construct cache

Functions

This function does nothing and can usually be used as the default handler for something

wait for a case to complete

Interfaces

Read-write bidirectional channel

a read-only channel

a write-only channel

Type Aliases

callback function with no arguments

How to copy data

How to compare element sizes

Usually called before destroying the object, this function should not throw any exception, otherwise the behavior will be unknown

How to transform data

Is the return value valid?

callback function with one parameter

callback function with no arguments