io.github.vipcxj.jasync.ng.spec.functional.JAsyncPromiseFunction3 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jasync-spec Show documentation
Show all versions of jasync-spec Show documentation
JAsync implements Async-Await fashion for Java just like es and c#.
This library provide the spec of all public api.
package io.github.vipcxj.jasync.ng.spec.functional;
import io.github.vipcxj.jasync.ng.spec.JContext;
import io.github.vipcxj.jasync.ng.spec.JPromise;
public interface JAsyncPromiseFunction3 {
JPromise apply(T t, Throwable throwable, JContext context) throws Throwable;
}