TcpConnection.onWritable

void onWritable(WritableCallback callback) @property @trusted

Set the writable callback.

Parameters

callbackCallback invoked when the connection becomes writable after backpressure. Callback contract: invoked when the send queue drains. Fires on the event loop thread. Does not fire after dispose().