Class Procedure<Input, Output>

Instance of the procedure class represents a pure function that can be executed on specified data. The other properties of the class are used to describe the procedure. To allow for procedure chaining, the input and output are both 1 record object.

Type Parameters

  • Input extends Record<string, any>

    The type of the input data.

  • Output extends Record<string, any> | null

    The type of the output data.

Hierarchy

Implements

Constructors

Properties

Accessors

Methods

Constructors

  • Type Parameters

    • Input extends Record<string, any>

    • Output extends null | Record<string, any>

    Parameters

    • parameters: {
          name: string;
          procedure: ((input) => Output);
      }
      • Readonly name: string
      • Readonly procedure: ((input) => Output)
          • (input): Output
          • Parameters

            • input: Input

            Returns Output

    Returns Procedures.Procedure<Input, Output>

Properties

procedure: ((input) => Output)

Type declaration

    • (input): Output
    • Parameters

      • input: Input

      Returns Output

procedureName: string

Accessors

Methods

Generated using TypeDoc