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(); }
public void Subscribe <T>(IPublisher <T> publisher, TestSubscriber <T> subscriber) => Subscribe(publisher, subscriber, DefaultTimeoutMilliseconds);