CancelledCallerFixture
What a transport's Connection.send does for a caller that is already cancelled.
Two arms rather than a nullable hook, because the second is a real answer rather than a missing one, and the suite checks each.
Inheritors
Types
Link copied to clipboard
send blocks its thread and never suspends the caller, so no cancellation check lies on its path. :kuilt-stream's framed() over a blocking Sink has this shape: the transport's failure reaches the caller as it stands, and the caller's cancellation lands at its next suspension point.
Link copied to clipboard
send observes the caller's cancellation, and the suite requires the caller to see it.