Function SimpleSignal_Factory

  • the base signal class inherited by most other signal classes.
    its only function is to:

    • when read, it return its this.value, and register any new observers (those with a nonzero runtime-id Signal.rid)
    • if set to a new value, compare it to its previous value through its this.equals function, and return a boolean specifying whether or not the old and new values are the same.
    • when ran, it will always return 0 (unchanged), unless it is forced, in which case it will return a 1.

    Parameters

    Returns typeof SimpleSignal

Generated using TypeDoc