hprose.util.concurrent.Subscriber Maven / Gradle / Ivy
/**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| http://www.hprose.org/ |
| |
\**********************************************************/
/**********************************************************\
* *
* Subscriber.java *
* *
* Subscriber class for Java. *
* *
* LastModified: Jun 21, 2016 *
* Author: Ma Bingyao *
* *
\**********************************************************/
package hprose.util.concurrent;
final class Subscriber {
public final Callback onfulfill;
public final Callback onreject;
public final Promise next;
public Subscriber(Callback onfulfill, Callback onreject, Promise next) {
this.onfulfill = onfulfill;
this.onreject = onreject;
this.next = next;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy