grantCredit method
Grants credit additional outbound bytes (from a channel.window), and
flushes any queued writes that now fit.
Implementation
void grantCredit(int credit) {
_credit += credit;
_flush();
}
Grants credit additional outbound bytes (from a channel.window), and
flushes any queued writes that now fit.
void grantCredit(int credit) {
_credit += credit;
_flush();
}