Type Alias AlsContext

AlsContext: {
    @@deps: ReadonlyMap<unknown, unknown>;
    @@derived: ReadonlyMap<unknown, unknown>;
    @@once: ReadonlyMap<unknown, unknown>;
    @@state: ReadonlyMap<unknown, unknown>;
    [k: string]: unknown;
}

Context which exists within diInit callback

Type declaration

  • [k: string]: unknown

    AlsContext can be extended by any property via third-party plugins

  • Readonly@@deps: ReadonlyMap<unknown, unknown>

    Contains overriden di functions here

  • Readonly@@derived: ReadonlyMap<unknown, unknown>

    Contains derived states of diMap here

  • Readonly@@once: ReadonlyMap<unknown, unknown>

    Contains cached returns of diOnce, diMapOnce, dic here

  • Readonly@@state: ReadonlyMap<unknown, unknown>

    Contains states of dis, div here