예제 #1
0
 public void Subscribe <T>(IPublisher <T> publisher, TestSubscriber <T> subscriber, long timeoutMilliseconds)
 {
     publisher.Subscribe(subscriber);
     subscriber.Subscription.ExpectCompletion(timeoutMilliseconds, $"Could not subscribe {subscriber}, to Publisher {publisher}");
     VerifyNoAsyncErrorsNoDelay();
 }
예제 #2
0
 public void Subscribe <T>(IPublisher <T> publisher, TestSubscriber <T> subscriber)
 => Subscribe(publisher, subscriber, DefaultTimeoutMilliseconds);