engine

@wixc3/engine-core on Github

Home > @wixc3/engine-core > RuntimeEngine

RuntimeEngine class

Signature:

export declare class RuntimeEngine<ENV extends AnyEnvironment = AnyEnvironment> 

Constructors

Constructor Modifiers Description
[(constructor)(entryEnvironment, topLevelConfig, runOptions, featureShutdownTimeout)](/engine/engine-core.runtimeengine._constructor_.html) Constructs a new instance of the `RuntimeEngine` class

Properties

Property Modifiers Type Description
[entryEnvironment](/engine/engine-core.runtimeengine.entryenvironment.html) ENV
[features](/engine/engine-core.runtimeengine.features.html) Map<[FeatureClass](/engine/engine-core.featureclass.html), [RuntimeFeature](/engine/engine-core.runtimefeature.html)<any, ENV>>
[featureShutdownTimeout](/engine/engine-core.runtimeengine.featureshutdowntimeout.html) `readonly` number
[referencedEnvs](/engine/engine-core.runtimeengine.referencedenvs.html) Set<string>
[runningEnvNames](/engine/engine-core.runtimeengine.runningenvnames.html) Set<string>
[runOptions](/engine/engine-core.runtimeengine.runoptions.html) [IRunOptions](/engine/engine-core.irunoptions.html)
[shutdown](/engine/engine-core.runtimeengine.shutdown.html) () => Promise<void>

Methods

Method Modifiers Description
[entityID(featureId, entityKey)](/engine/engine-core.runtimeengine.entityid.html)
[get(feature)](/engine/engine-core.runtimeengine.get.html)
[getTopLevelConfig(featureId, configId)](/engine/engine-core.runtimeengine.gettoplevelconfig.html)
[initFeature(feature)](/engine/engine-core.runtimeengine.initfeature.html)
[run(features)](/engine/engine-core.runtimeengine.run.html)
[runFeature(feature)](/engine/engine-core.runtimeengine.runfeature.html)