Optionalopts: IdleSchedulerOptionsCancel any pending timer. Idempotent.
Force-run a mine right now, bypassing the idle delay (but not the floor).
Push a new event onto the buffer and (re)arm the idle timer.
Replace the event buffer wholesale — useful when reading from storage.
Subscribe to mine results. Returns an unsubscribe.
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.