/*/ * public IAsyncEnumerable<int> DuplexTwo() * { * return AsyncStream.Generatestream(100); * } * /*/ public IAsyncEnumerable <int> DuplexTwo(IAsyncEnumerable <int> incommingStream) { return(AsyncStream.EnumerateBackStream(incommingStream, _logger)); }
public IAsyncEnumerable <int> DuplexOne(IAsyncEnumerable <int> stream) { _logger.LogInformation("Doing 'DuplexOne'"); return(AsyncStream.EnumerateBackStream(_appTwoClient.StreamDuplexTwo(stream), _logger)); }