bind method

void bind (Channel channel)

Implementation

void bind(Channel channel) {
  if (isBound) {
    throw ZirconApiError('ChannelReader is already bound.');
  }
  _channel = channel;
  _asyncWait();
}