promises
promises copied to clipboard
Promise/A+ library for JVM and Android
Please consider deploy to maven Central As manny developers just try to download jar before actually trying to use, e.g. #6 , #7 https://mvnrepository.com/artifact/com.onehilltech.promises/promises-jvm gives link to repository, that has...
The library is currently hard-coded to use a `CachedThreadPoolExecutor` via `Executors.newCachedThreadPool`. Clients, however, should have the option of selecting the executor to use on the Promise, and its chain.
Promise._catch() causes to lost previous result so the next handler in the chain gets null. See: https://github.com/onehilltech/promises/blob/e5b76c56d372acfb200e97b37ecde0e5146f54ee/promises-jvm/src/main/java/com/onehilltech/promises/Promise.java#L520 ```java public Promise _catch (OnRejected onRejected) { if (onRejected == null) throw new...