Provides access to services.
Alternative to getValueHost() and companion functions that returns strongly typed valuehosts in a shortened syntax. Always throws exceptions if the value host requested is unknown or not the expected type.
If the user needs to abandon this instance, they should use this to clean up active resources (like timers) and to release memory that would stall the garbage collector from disposing this object. It should assign any object reference to undefined as a strong indicator that the object has been disposed.
Retrieves the ValueHost of the identified by valueHostName
Matches to the ValueHostBaseConfig.name property Returns the instance or null if not found.
Retrieves the CalcValueHost of the identified by valueHostName
Matches to the CalcValueHostConfig.name property Returns the instance or null if not found or found a different type of value host.
Retrieves the StaticValueHost of the identified by valueHostName
Matches to the StaticValueHostConfig.name property Returns the instance or null if not found or found a different type of value host.
Provides a way to enumerate through existing ValueHosts.
Optional
filter: ((valueHost) => boolean)A generator that yields ValueHosts
Generated using TypeDoc v0.25.12
The fundamentals of managing ValueHosts involve just the ability to get a ValueHost and provide the Services (for dependency injection).