Created
December 14, 2018 19:41
-
-
Save eldermoraes/db184559c02801d00e3d77e45743647e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static FlowFuture<BookingRes> cancel(String cancelFn, Object input, Throwable e) { | |
Flows.currentFlow().invokeFunction(cancelFn, input, BookingRes.class); | |
return Flows.currentFlow().failedFuture(e); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment