UNPKG

1e14

Version:

Minimal API for building function graphs

10 lines (9 loc) 330 B
import { InPort, OutPort } from "../types"; /** * Establishes a connection between an output port and an input port. Data * emitted on an output port are automatically forwarded to connected input * ports. * @param outPort * @param inPort */ export declare function connect<V>(outPort: OutPort<V>, inPort: InPort<V>): void;