@black-flag/core • Docs
@black-flag/core / index / ConfigureExecutionContext
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.
• CustomContext extends ExecutionContext
= ExecutionContext
• context: ExecutionContext
Promisable
<CustomContext
>