
com.englishtown.promises.Thenable Maven / Gradle / Ivy
The newest version!
package com.englishtown.promises;
import java.util.function.Function;
/**
* Promises/A+ implementation
*/
public interface Thenable {
default Thenable then(Function> onFulfilled) {
return then(onFulfilled, null);
}
Thenable then(Function> onFulfilled, Function> onRejected);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy