function createContext
thefrontside/effectionfunction createContext<T>(name: string, defaultValue?: T): Context<T>
Create a new https://effection-www-pggsafb7y58a.deno.dev/api/v4/Context
Type Parameters
T
Parameters
name: string
- the unique name to give this context.
defaultValueoptional: T
Return Type
https://effection-www-pggsafb7y58a.deno.dev/api/v4/Context<T>
the new context