Google is committed to advancing racial equity for Black communities. See how.

passChannel method

Channel passChannel ()

Returns channel and sets channel to null.

Useful for taking ownership of the underlying channel.

Implementation

Channel passChannel() {
  final Channel result = _channel;
  _channel = null;
  return result;
}