上QQ阅读APP看书,第一时间看更新
The Subscription interface
The definition of this interface is as follows:
public interface Subscription {
public void request(long n);
public void cancel();
}
The method request is for accepting requests for items and method cancel is for when Subscription is cancelled.