static async IAsyncEnumerable <string> Go(GreeterClient client, [EnumeratorCancellation] CancellationToken ct) { using (var stream = client.GetNooberStream(new Empty(), null, null, ct)) { while (await stream.ResponseStream.MoveNext(ct)) { yield return(stream.ResponseStream.Current.Message); } } }