ContextValues is a collection of context values.

interface ContextValues {
    delete(key): ContextValues;
    get<T>(key): T;
    set<T>(key, value): ContextValues;
}

Methods

Methods

  • delete deletes a context value. It returns the ContextValues to allow chaining.

    Parameters

    Returns ContextValues

  • get returns a context value.

    Type Parameters

    • T

    Parameters

    Returns T

  • set sets a context value. It returns the ContextValues to allow chaining.

    Type Parameters

    • T

    Parameters

    Returns ContextValues

Generated using TypeDoc