Skip to content

basalt / scheduler/src / Reconciler

Interface: Reconciler ​

Defined in: scheduler/src/reconciler.ts:110

Properties ​

name ​

> readonly name: string

Defined in: scheduler/src/reconciler.ts:111


stats ​

> readonly stats: Readonly<ReconcilerStats>

Defined in: scheduler/src/reconciler.ts:113

Cumulative counters since the process started.

Methods ​

run() ​

> run(): Promise<ReconcilerRunResult>

Defined in: scheduler/src/reconciler.ts:115

Runs one reconciliation now (overlap guard and lock apply). Never throws.

Returns ​

Promise<ReconcilerRunResult>


schedule() ​

> schedule(scheduler): ScheduleEntry

Defined in: scheduler/src/reconciler.ts:117

Adds the reconciler to a scheduler on its cadence; returns the entry.

Parameters ​

scheduler ​

Scheduler

Returns ​

ScheduleEntry

Released under the MIT License.