IFClite TypeScript API
    Preparing search index...

    Class IdleMineScheduler

    Build an idle scheduler. The returned object owns the timing; the caller hands it events as they arrive (typically by subscribing to the ActionLog) and is notified through subscribe.

    Index
    • Cancel any pending timer. Idempotent.

      Returns void

    • Force-run a mine right now, bypassing the idle delay (but not the floor).

      Returns MineEvent

    • Push a new event onto the buffer and (re)arm the idle timer.

      Parameters

      Returns void

    • Replace the event buffer wholesale — useful when reading from storage.

      Parameters

      Returns void

    • Subscribe to mine results. Returns an unsubscribe.

      Parameters

      Returns () => void