Skip to main content

Class: Engine

The Dagger engine configuration and state

Extends​

  • BaseClient

Constructors​

Constructor​

new Engine(ctx?, _id?): Engine

Constructor is used for internal usage only, do not create object from it.

Parameters​

ctx?​

Context

_id?​

EngineID

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