windease API reference - v0.8.0
    Preparing search index...

    Interface ThrottlePublishedPayload

    Emitted as throttle.published on store.events when a withheld node reaches the published view. Pairs with throttle.pending: one of these follows each pending event for the same id — including when the node was unregistered while pending (publishing a deletion is publishing) and when deserialize drops the pending state wholesale. That pairing is what lets a consumer maintain a live set of withheld nodes without leaking.

    Never emitted by an un-throttled store.

    interface ThrottlePublishedPayload {
        coalesced: number;
        forced: boolean;
        heldMs: number;
        id: NodeId;
    }
    Index

    Properties

    coalesced: number

    Internal dirty-marks coalesced into this single publish. Not a count of store operations — see PendingPublish.coalesced.

    forced: boolean

    The dwell gate was still unsatisfied at the moment this node published, whatever caused the publish — the maxWaitMs starvation cap, or a flushNow() / reset() drain that caught it mid-dwell. A node that had already gone quiet, or was never dwell-gated at all, is not "forced" even when a drain is what published it: it had no gate left to escape.

    heldMs: number

    Total time withheld: now - since.

    id: NodeId