Interface: IEngineCoreOptions<C, S>
The options for creating engine core.
Type Parameters
C
C extends IEngineCoreConfig = IEngineCoreConfig
S
S extends IEngineState = IEngineState
Properties
config?
optionalconfig?:C
The engine core config.
stateStorage?
optionalstateStorage?:IEngineStateStorage<S>
The state storage component.
skipBootstrap?
optionalskipBootstrap?:boolean
Skip the bootstrap process, useful for additional engine instances.
populateTypeInitialisers?
optionalpopulateTypeInitialisers?: (engineCore,context) =>void
Populate the type initialisers for the engine.
Parameters
engineCore
IEngineCore<C, S>
context
IEngineCoreContext<C, S>
Returns
void
customBootstrap?
optionalcustomBootstrap?: (engineCore,context) =>Promise<void>
Custom bootstrap method for the engine.
Parameters
engineCore
IEngineCore<C, S>
context
IEngineCoreContext<C, S>
Returns
Promise<void>