ContextValues is a collection of context values.

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

Methods

Methods

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

    Parameters

    Returns this

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

Generated using TypeDoc