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?

ID

_name?

string

Returns

Engine

Overrides

BaseClient.constructor

Methods

clients()

clients(): Promise<string[]>

The list of connected client IDs

Returns

Promise<string[]>


id()

id(): Promise<ID>

A unique identifier for this Engine.

Returns

Promise<ID>


localCache()

localCache(): EngineCache

The local engine cache state tracked by dagql

Returns

EngineCache


name()

name(): Promise<string>

The name of the engine instance.

Returns

Promise<string>