Skip to main content

Class: Engine

The Dagger engine configuration and state

Extends

  • BaseClient

Constructors

new Engine()

new Engine(parent?, _id?): Engine

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

Parameters

parent?

parent.ctx?: Context

parent.queryTree?: QueryTree[]

_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