Abstract Tracked value type.
Private Internal _byAbstract itThe tracked value.
Readonly Abstract onOnEvent sender of value changes.
The [OnEvent__symbol] property is an alias of this one.
Value changes sender.
Readonly readAfterEvent keeper of current value.
The [AfterEvent__symbol] property is an alias of this one.
Current value keeper.
Readonly Abstract supplyAn event supply of this value tracker.
Returns an AfterEvent instance of this event keeper.
AfterEvent instance registering event receivers sent by this keeper.
Updates the tracked value by the given value supplier.
If the value is already updated by another supplier, then unbinds from the old one first.
Call the byNone method to unbind the tracked value from the source.
Note that explicitly updating the value would override the value received from the source.
The source value sender or keeper.
this instance.
Updates the tracked value by value suppliers extracted from events sent by the given supplier.
If the value is already updated by another value supplier, then unbinds from the old one first.
Call the byNone method to unbind the tracked value from the source.
Note that explicitly updating the value would override the value received from the source.
Source event type.
The event supplier to extract value suppliers from.
A function extracting value supplier from event received from supplier.
May return undefined to suspend receiving values.
Rest ...event: TSrcEventthis instance.
Unbinds the tracked value from any value supplier this tracker is updated by.
If the tracker is not bound then does nothing.
Optional reason: unknownArbitrary reason of unbinding the value.
this instance.
Generated using TypeDoc
Value accessor and changes tracker.
Implements an EventSender interface by sending value changes to registered receivers as a pair of new and old values.
Implements an EventKeeper interface by sending current value and its updates.