grantWindow method

void grantWindow(
  1. int credit
)

Grants the peer credit more bytes of send window (transfer flow control).

Implementation

void grantWindow(int credit) => _channel.sendControl(
  ChannelWindow(channel: _channel.id, stream: 'stdout', credit: credit),
);