SshChannelImpl.takeAdjust

uint takeAdjust()

Removes and returns the pending re-grant when it crosses the replenish threshold.

Returns

Bytes to grant, or 0 when no adjustment is due yet.