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.
  • Does not fire after dispose().

    Parameters