@pond-ts/process API Reference
    Preparing search index...

    Interface NodeSpec<In, Out>

    Declares a reusable node type. Passed to defineNode.

    interface NodeSpec<In extends PortSpecMap, Out extends PortSpecMap> {
        inputs: In;
        kind: string;
        outputs: Out;
        compute(inputs: PortValues<In>): PortValues<Out>;
    }

    Type Parameters

    Index

    Properties

    Methods

    Properties

    inputs: In
    kind: string

    Stable identifier for this node type, used in errors and toJSON().

    outputs: Out

    Methods