Slow

data class Slow(val delay: Duration) : TeardownFault

Suspend for delay, then delegate the close.

Models a transport whose teardown does real work before it returns — a flush, a goodbye frame, a socket shutdown that waits for its peer. This is the arm that makes a withTimeout-bounded close reachable, which is the #2286 mechanism: the caller sees a TimeoutCancellationException its own job never asked for.

Constructors

Link copied to clipboard
constructor(delay: Duration)

Properties

Link copied to clipboard