responses property

Stream<O> get responses

Implementation

Stream<O> get responses async* {
  try {
    while (true) {
      final bytes = await _call.recv();
      if (bytes == null) return;
      yield _output.decode(bytes);
    }
  } finally {
    await _call.close();
  }
}