Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ComputationInputNode<T>

Type parameters

  • T

Hierarchy

Implements

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • value: T

    Returns ComputationInputNode

Properties

emitter

emitter: BitFieldEmitter<void> = new BitFieldEmitter<void>()

Emits changed & disposed events

state

state: computationFlags = computationFlags.active

inner property keeping track of the state

Private value

value: T

Methods

dispose

  • dispose(): this
  • Kills node and children.

    emits

    disposed

    emits

    disposed

    Returns this

    The current OperationInputNode instance.

get

  • get(): T
  • Gets the current value of the node.

    Returns T

    The current value of the ndoe

isActive

  • isActive(): number

set

  • set(newValue: T): this
  • Sets the current value of a node.

    emits

    changed

    emits

    changed

    Parameters

    • newValue: T

      The value to set the node to.

    Returns this

    The current OperationInputNode instance.

Generated using TypeDoc