Пример #1
0
 public static async Task Modify <TEntity>(this ISink <TEntity> sink, TEntity entity, CancellationToken cancellationToken)
     where TEntity : class
 => await sink.Modify(Observable.Return(entity)).ToTask(cancellationToken).ConfigureAwait(false);