Skip to main content
Defined in: durability/engine.ts:81 bot.durability: the journals plus operator controls.

Properties

backend

Defined in: durability/engine.ts:82

inbox

Defined in: durability/engine.ts:83

outbox

Defined in: durability/engine.ts:84

instanceId

Defined in: durability/engine.ts:86 This process’s lease owner id.

scope

Defined in: durability/engine.ts:91 The scope of this bot’s records in a shared backend (derived from its namespace), or undefined when the backend has no scope(). journal.scope(scope) opens the same view.

Methods

replayInbound()

Defined in: durability/engine.ts:93 Operator replay of an inbound record (e.g. from the DLQ): it is processed again by the sweeper.

Parameters

Returns

Promise<void>

retrySend()

Defined in: durability/engine.ts:95 Operator retry of a failed/dead/unknown send.

Parameters

Returns

Promise<void>

sweep()

Defined in: durability/engine.ts:97 Run one sweeper pass now (retries, expired leases, purge).

Returns

Promise<void>

metrics()

Defined in: durability/engine.ts:98

Returns

DurabilityMetrics