createContextKey
createContextKey<
T>(defaultValue,options?):ContextKey<T>
Defined in: packages/pubsub/src/context-values.ts:55
createContextKey creates a new ContextKey.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”defaultValue
Section titled “defaultValue”T
options?
Section titled “options?”description?
Section titled “description?”string
Returns
Section titled “Returns”ContextKey<T>