UNPKG

flowcode

Version:

Tools for building dataflow graphs

11 lines (10 loc) 372 B
import { InPort } from "../types/InPort"; import { OutPort } from "../types/OutPort"; /** * 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;