UNPKG

sodiumjs

Version:

A Functional Reactive Programming (FRP) library for JavaScript

11 lines (9 loc) 241 B
import { Source, Vertex } from "./Vertex"; export class Listener<A> { constructor(h : (a : A) => void, target : Vertex) { this.h = h; this.target = target; } h : (a : A) => void; target : Vertex; }