Skip to main content
Module

x/easyts/signals/mod.ts

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

Classes

Connection between Signals and Slots

An example of a combiner that processes arguments before passing them to a slot and can determine whether to continue calling subsequent slots

Signals/Slots, you can associate multiple Slots with Signals, when Signals generate signals, Slots will be called in turn

An example of a combiner to get the sum of the return values of all slots

Functions

Create a slot by a function

Interfaces

The combiner is used to obtain the return value of the slot, and to determine whether to continue calling subsequent slots

Signals/Slots, you can associate multiple Slots with Signals, when Signals generate signals, Slots will be called in turn