August 2018
Intermediate to advanced
372 pages
9h 29m
English
This interface is intended to be used when you want to request a subscription to the Publisher interface, specifying the number of elements to request to the upstream; the cancel method should be called when the subscriber is no longer interested in receiving data:
public interface Subscription {
public void request(long n);
public void cancel();
}
Read now
Unlock full access