Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FlowGraphBinaryOperationBlock<LeftT, RightT, ResultT>

experimental

The base block for all binary operation blocks. Receives an input of type LeftT, one of type RightT, and outputs a value of type ResultT.

Type Parameters

  • LeftT

  • RightT

  • ResultT

Hierarchy

Index

Constructors

  • new FlowGraphBinaryOperationBlock<LeftT, RightT, ResultT>(leftRichType: RichType<LeftT>, rightRichType: RichType<RightT>, resultRichType: RichType<ResultT>, _operation: ((left: LeftT, right: RightT) => ResultT)): FlowGraphBinaryOperationBlock<LeftT, RightT, ResultT>
  • Type Parameters

    • LeftT

    • RightT

    • ResultT

    Parameters

    • leftRichType: RichType<LeftT>
    • rightRichType: RichType<RightT>
    • resultRichType: RichType<ResultT>
    • _operation: ((left: LeftT, right: RightT) => ResultT)
        • (left: LeftT, right: RightT): ResultT
        • Parameters

          • left: LeftT
          • right: RightT

          Returns ResultT

    Returns FlowGraphBinaryOperationBlock<LeftT, RightT, ResultT>

Properties

dataInputs: FlowGraphDataConnection<any>[]

The data inputs of the block.

dataOutputs: FlowGraphDataConnection<any>[]

The data outputs of the block.

leftInput: FlowGraphDataConnection<LeftT>
output: FlowGraphDataConnection<ResultT>
rightInput: FlowGraphDataConnection<RightT>
uniqueId: string

A randomly generated GUID for each block.

Methods

  • Parameters

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme