DuplexChannel.close

Close the channel. Marks it closed and fails every still-pending request so awaiting callers are released immediately instead of waiting out their timeout; any request issued after this point also fails fast. The owning transport still closes the underlying byte stream to stop the read loop; close is idempotent and the read loop's own EOF path is equivalent.

class DuplexChannel
@safe
void
close
()