The fundamentals of managing ValueHosts involve just the ability to get a ValueHost and provide the Services (for dependency injection).

interface IValueHostResolver {
    services: IServices;
    vh: IValueHostAccessor;
    dispose(): void;
    getValueHost(valueHostName): null | IValueHost;
    getCalcValueHost(valueHostName): null | ICalcValueHost;
    getStaticValueHost(valueHostName): null | IStaticValueHost;
    enumerateValueHosts(filter?): Generator<IValueHost, any, unknown>;
}

Hierarchy (view full)

Properties

services: IServices

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.

Methods

  • 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.

    Returns void

Generated using TypeDoc v0.25.12