Options
All
  • Public
  • Public/Protected
  • All
Menu

Specification for a single "node" in the dataflow graph. Nodes here are actually just wrappers of streams / subscriptions (or generally any form of ISubscribable), usually with an associated transducer to transform / combine the inputs and produce values for the node's result stream.

The fn function is responsible to produce such a stream transformer construct. The keys used to specify inputs in the ins object are dictated by the actual node fn used. Most node functions with multiple inputs will be implemented as StreamSync instances and the input IDs are used to locally rename input streams within the StreamSync container.

Alo see initGraph and {@link nodeFromSpec} (in /src/nodes.ts) for more details how these specs are compiled into stream constructs.

Hierarchy

  • NodeSpec

Index

Properties

Properties

fn

fn: NodeFactory<any>

ins

ins: IObjectOf<NodeInputSpec>

Optional outs

outs: IObjectOf<(readonly NumOrString[] | NumOrString) | NodeOutputFn>

Generated using TypeDoc