AwaitedSendResult

data class AwaitedSendResult(val status: AwaitedSendStatus, val departureEpochAtDispatch: Long? = null)(source)

Detailed result for an awaited send. departureEpochAtDispatch captures the canonical departure counter when an active transport accepts the outbound bytes for asynchronous delivery. Its presence is also the single source of truth for dispatched, allowing callers to distinguish a later transport departure from one that happened while the packet was still queued. Correlated responses received before dispatch are ignored, so an accepted result always belongs to an admitted transport send.

Constructors

Link copied to clipboard
constructor(status: AwaitedSendStatus, departureEpochAtDispatch: Long? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

True only when an active transport admitted the outbound bytes.

Link copied to clipboard