Member Junction
    Preparing search index...

    Options for the background heartbeat started via RunOwnershipService.StartHeartbeat.

    interface HeartbeatOptions {
        onCancelRequested?: () => void;
        onLost?: () => void;
        progressSupplier?: () => string;
    }
    Index

    Properties

    onCancelRequested?: () => void

    Called (once per request) when a renewal observes CancelRequestedAt set.

    onLost?: () => void

    Called (once) when a renewal discovers ownership has been lost. The engine uses this to abort the in-flight sync locally; writes are additionally fenced at every batch boundary, so this is fast-fail, not the safety net.

    progressSupplier?: () => string

    Supplies the latest progress JSON to piggyback on each renewal write.