Skip to main content

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?​

EngineID

_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​

EngineCache


name()​

name(): Promise<string>

The name of the engine instance.

Returns​

Promise<string>