In various TCK tests, there is an expectation that a closed/errored stream be immediately reported as such to the subscriber - see, for example, this test:
|
onSubscribeLatch.expectClose("Should have received onSubscribe"); |
However, the spec does not specify whether a subscriber should immediately get these callbacks, or if it should get them after a call to Subscription.request()
Getting no callbacks until a request is a bit more consistent with the other stream callback behaviors
But, at a minimum, it seems like the TCK test should support the case where a Publisher does not call onError/onComplete until the Subscriber makes a Subscription.request