Guest User

Untitled

a guest
Dec 14th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. private static FlowFuture<BookingRes> retryCancel(String cancelFn, Object input, Throwable e) {
  2. Retry.exponentialWithJitter(
  3. () -> Flows.currentFlow().invokeFunction(cancelFn, input, BookingRes.class));
  4. return Flows.currentFlow().failedFuture(e);
  5. }
Add Comment
Please, Sign In to add comment