llmwire - v2.2.0
    Preparing search index...

    Class Routine<T>

    Type Parameters

    • T = unknown
    Index
    name: string
    • When the next run is due, from from (default now).

      Parameters

      • from: Date = ...

      Returns Date

    • Runs once now, outside the schedule. If a run is already in progress, waits for it and returns its outcome instead.

      Returns Promise<T | undefined>

    • Schedules the ticks; with catchUp, runs first if a run was missed. Idempotent.

      Returns Promise<void>

    • Cancels the next tick and aborts a run in progress (its signal fires). Resolves once the run has ended.

      Returns Promise<void>