public IWriter <TData> RetrieveWriter(Identification identification)
        {
            var writer = new Writer <TData>(_channel.Writer, _source.Token, identification);

            return(writer);
        }
Beispiel #2
0
 internal Writer(ChannelWriter <TData> writer, CancellationToken cancellationToken, Identification identification)
 {
     _writer            = writer;
     _cancellationToken = cancellationToken;
     _identification    = identification;
 }