Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static FlowFuture<BookingRes> retryCancel(String cancelFn, Object input, Throwable e) {
- Retry.exponentialWithJitter(
- () -> Flows.currentFlow().invokeFunction(cancelFn, input, BookingRes.class));
- return Flows.currentFlow().failedFuture(e);
- }
Add Comment
Please, Sign In to add comment