Skip to content

Commit d7d4af9

Browse files
committed
=tck reactive-streams#138 clarify docs on registerOnSubscribe
Aims to clarify confusion about this method, as seen in reactive-streams#138
1 parent 293b662 commit d7d4af9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tck/src/main/java/org/reactivestreams/tck/SubscriberWhiteboxVerification.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,8 @@ public void registerOnSubscribe(SubscriberPuppet p) {
749749
public interface SubscriberPuppeteer {
750750

751751
/**
752-
* Must be called by the test subscriber when it has received the `onSubscribe` event.
752+
* Must be called by the test subscriber when it has successfully registered a subscription
753+
* inside the `onSubscribe` method.
753754
*/
754755
void registerOnSubscribe(SubscriberPuppet puppet);
755756
}
@@ -782,4 +783,4 @@ public interface SubscriberPuppet {
782783
public void notVerified() {
783784
throw new SkipException("Not verified using this TCK.");
784785
}
785-
}
786+
}

0 commit comments

Comments
 (0)