runWithContext
Function: runWithContext()
runWithContext<
T>(context,run,attach?):T
Defined in: packages/core/src/contexts/execution.ts:62
Run this function as user
Type Parameters
T
T
Parameters
context
the execution context
run
() => T
the function to run
attach?
IContextAware[] = []
whether to attach to current context
Returns
T
the list of results