Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.15 KB

ConfigureExecutionContext.md

File metadata and controls

32 lines (18 loc) · 1.15 KB

@black-flag/coreDocs


@black-flag/core / index / ConfigureExecutionContext

Type Alias: ConfigureExecutionContext()<CustomContext>

ConfigureExecutionContext<CustomContext>: (context) => Promisable<CustomContext>

This function is called once towards the beginning of the execution of configureProgram and should return what will become the global ExecutionContext singleton.

Note that any errors thrown this early in the initialization process will be thrown as-is and will NOT trigger ConfigureErrorHandlingEpilogue.

Type Parameters

CustomContext extends ExecutionContext = ExecutionContext

Parameters

context: ExecutionContext

Returns

Promisable<CustomContext>

Defined in

types/configure.ts:17