Home > @wixc3/engine-core > RuntimeFeature
Represents a currently running feature instance.
Signature:
export declare class RuntimeFeature<T extends FeatureClass, ENV extends AnyEnvironment> implements IDisposable
Implements: IDisposable
Constructor | Modifiers | Description |
---|---|---|
[(constructor)(feature, api, dependencies, environment)](/engine/engine-core.runtimefeature._constructor_.html) | Constructs a new instance of the `RuntimeFeature` class |
Property | Modifiers | Type | Description |
---|---|---|---|
[addOnDisposeHandler](/engine/engine-core.runtimefeature.addondisposehandler.html) | (fn: [DisposeFunction](/engine/engine-core.disposefunction.html)) => void | ||
[addRunHandler](/engine/engine-core.runtimefeature.addrunhandler.html) | (fn: () => unknown) => void | ||
[api](/engine/engine-core.runtimefeature.api.html) | [Running](/engine/engine-core.running.html)<T, ENV> | ||
[dependencies](/engine/engine-core.runtimefeature.dependencies.html) | [RunningFeatures](/engine/engine-core.runningfeatures.html)<InstanceType<T>\['dependencies'\], ENV> | ||
[dispose](/engine/engine-core.runtimefeature.dispose.html) | () => Promise<void> | ||
[environment](/engine/engine-core.runtimefeature.environment.html) | ENV | ||
[feature](/engine/engine-core.runtimefeature.feature.html) | InstanceType<T> | ||
[isDisposed](/engine/engine-core.runtimefeature.isdisposed.html) | () => boolean |
Method | Modifiers | Description |
---|---|---|
[\[RUN\](engine)](./engine-core.runtimefeature._run_.md) |