Skip to main content

setSystemContextFactory

@webda/core


Function: setSystemContextFactory()

setSystemContextFactory(factory): void

Defined in: packages/core/src/contexts/execution.ts:20

Set the factory of the context used by runAsSystem

This file cannot import the OperationContext classes: operationcontext.ts imports it

Parameters​

factory​

() => Context

creates a new system context

Returns​

void