You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -128,7 +136,7 @@ public interface Subscription {
128
136
129
137
1.A `Subscription.request` and `Subscription.cancel` MUST not be called outside its `Subscriber` context. A `Subscription` represents the unique relationship between a `Subscriber` and a `Publisher` [see 1.11].
130
138
2.Calls from a `Subscriber` to `Subscription.request(int n)` can be made directly since it is the responsibility of `Subscription` to handle async dispatching.
131
-
3.The `Subscription.request` method MUST assume that it will be invoked synchronously and MUSTNOT allow unbounded recursion such as `Subscriber.onNext` -> `Subscription.request` -> `Subscriber.onNext`.
139
+
3.The `Subscription.request` method MUST assume that it will be invoked synchronously and MUSTNOT allow unbounded recursion such as `Subscriber.onNext` -> `Subscription.request` -> `Subscriber.onNext`. _[UnderDiscussion]_
132
140
4.The `Subscription.request` method SHOULDNOT synchronously perform heavy computations.
133
141
5.The `Subscription.cancel` method MUST assume that it will be invoked synchronously and SHOULDNOT synchronously perform heavy computations.
134
142
6.After the `Subscription` is cancelled, additional `Subscription.request(int n)` MUST be NOPs.
0 commit comments