Class: Engine
The Dagger engine configuration and state
Extends​
BaseClient
Constructors​
Constructor​
new Engine(
ctx?,_id?,_name?):Engine
Constructor is used for internal usage only, do not create object from it.
Parameters​
ctx?​
Context
_id?​
_name?​
string
Returns​
Engine
Overrides​
BaseClient.constructor
Methods​
id()​
id():
Promise<EngineID>
A unique identifier for this Engine.
Returns​
Promise<EngineID>
localCache()​
localCache():
EngineCache
The local (on-disk) cache for the Dagger engine
Returns​
name()​
name():
Promise<string>
The name of the engine instance.
Returns​
Promise<string>