ContextValues
ContextValues is a collection of context values.
Methods
Section titled “Methods”delete()
Section titled “delete()”delete(
key):this
delete deletes a context value. It returns the ContextValues to allow chaining.
Parameters
Section titled “Parameters”ContextKey<unknown>
Returns
Section titled “Returns”this
get<
T>(key):T
get returns a context value.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”ContextKey<T>
Returns
Section titled “Returns”T
set<
T>(key,value):this
set sets a context value. It returns the ContextValues to allow chaining.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”ContextKey<T>
T
Returns
Section titled “Returns”this