July 2017
Intermediate to advanced
414 pages
11h 18m
English
A Subscription is shared by exactly one Publisher and one Subscriber for the purpose of mediating data exchange between this pair. Data exchange happens when the subscriber calls request. cancel is used basically to stop the subscription as seen in this example:
public interface Subscription { public void request(long n); public void cancel(); }
Read now
Unlock full access