Пример #1
0
 var(sink, subscription) = createObserver(observer, d);
Пример #2
0
 public static (IAsyncObserver <TSource>, IAsyncDisposable) Window <TSource>(IAsyncObserver <IAsyncObservable <TSource> > observer, IAsyncDisposable subscription, int count) => Window(observer, subscription, count, count);
Пример #3
0
 public static Task <(IAsyncObserver <TSource>, IAsyncDisposable)> Buffer <TSource>(IAsyncObserver <IList <TSource> > observer, TimeSpan timeSpan) => Buffer(observer, timeSpan, TaskPoolAsyncScheduler.Default);
Пример #4
0
 => Observable.Create <HttpRequest>(async(observer, cancellationToken) =>
 {
     if (listener is null)
Пример #5
0
 static (source, value, observer) => source.SubscribeSafeAsync(AsyncObserver.Append(observer, value))));
Пример #6
0
 static (source, func, observer) => source.SubscribeSafeAsync(AsyncObserver.Aggregate(observer, func))));
Пример #7
0
 public static (IAsyncObserver <TSource>, IAsyncDisposable) Throttle <TSource>(IAsyncObserver <TSource> observer, TimeSpan dueTime) => Throttle(observer, dueTime, TaskPoolAsyncScheduler.Default);
Пример #8
0
 => Observable.Create <object>(async(observer, cancellationToken) =>
 {
     using var client = await Connect(config, cancellationToken);
Пример #9
0
 static (source, selector, observer) => source.SubscribeSafeAsync(AsyncObserver.Select(observer, selector))));
Пример #10
0
 static (source, predicate, observer) => source.SubscribeSafeAsync(AsyncObserver.LastOrDefault(observer, predicate))));
Пример #11
0
 .Create <ScreenState>(async(observer, ct) =>
 {
Пример #12
0
 public static (IAsyncObserver <TSource>, IAsyncDisposable) TakeLast <TSource>(IAsyncObserver <TSource> observer, int count) => TakeLast(observer, count, TaskPoolAsyncScheduler.Default);
Пример #13
0
 Observable.Create <(BaseCommand command, MessageMetadata metadata, ReadOnlySequence <byte> payload, bool checkSum, short magicNumber)>((observer) => ReaderSchedule(observer, cancellation.Token));
Пример #14
0
 static (source, keySelector, observer) => source.SubscribeSafeAsync(AsyncObserver.MaxBy(observer, keySelector))));
Пример #15
0
 static (source, element, observer) => source.SubscribeSafeAsync(AsyncObserver.Contains(observer, element))));
Пример #16
0
 static (source, predicate, observer) => source.SubscribeSafeAsync(AsyncObserver.Where(observer, predicate))));
Пример #17
0
 static (source, func, observer) => source.SubscribeSafeAsync(AsyncObserver.Scan(observer, func))));
Пример #18
0
 public static Task <(IAsyncObserver <TSource>, IAsyncDisposable)> Skip <TSource>(IAsyncObserver <TSource> observer, TimeSpan duration) => Skip(observer, duration, TaskPoolAsyncScheduler.Default);
Пример #19
0
 static (source, count, observer) => source.SubscribeSafeAsync(AsyncObserver.Take(observer, count))));
Пример #20
0
 static (source, index, observer) => source.SubscribeSafeAsync(AsyncObserver.ElementAt(observer, index))));
Пример #21
0
 Observable.Create <T>(async(observer, cancellation) =>
 {