TcpConnection.onWritable

void onWritable(WritableCallback callback) @property @trusted

Set the writable callback.

Fires when the send queue drains below the low water mark after backpressure. Not called on initial connect. Thread affinity: event loop thread only. Non-reentrant.

Parameters

callbackCallback invoked when the connection becomes writable after backpressure.