Exemplo n.º 1
0
 public static Task Publish <TItem>(this StreamRef <TItem> stream, IEnumerable <TItem> batch, StreamSequenceToken token = null) =>
 stream.Publish(new NextItemBatch <TItem>(batch, token));
Exemplo n.º 2
0
 public static Task Publish <TItem>(this StreamRef <TItem> stream, TItem item, StreamSequenceToken token = null) =>
 stream.Publish(new NextItem <TItem>(item, token));