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
|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] |
144
-
|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 |
143
+
|1| `Subscription.request` and `Subscription.cancel` MUST not be called outside from the `Subscriber` context. A `Subscription` represents the unique relationship between a `Subscriber` and a `Publisher` [see 1.11] |
144
+
|2|Calls from a `Subscriber` to `Subscription.request(int n)` MAY be made directly since it is the responsibility of `Subscription` to handle async dispatching |
145
145
|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]_ |
146
146
|4|The `Subscription.request` method SHOULDNOT synchronously perform heavy computations |
147
147
|5|The `Subscription.cancel` method MUST assume that it will be invoked synchronously and SHOULDNOT synchronously perform heavy computations |
0 commit comments