Interface ContextService<C, R>
Methods
executeInContext
- executeInContext(contextValue: undefined | null | C, callback: () => void): void
Parameters
- contextValue: undefined | null | C
- callback: () => void
Returns void
executeInContextAsync
- executeInContextAsync(
contextValue: undefined | null | C,
callback: () => Promise<void>,
): Promise<void> Parameters
- contextValue: undefined | null | C
- callback: () => Promise<void>
Returns Promise<void>
get
- get(): undefined | C
Returns undefined | C
getOriginal
- getOriginal(): undefined | C
Returns undefined | C