Skip to content

Commit 22de397

Browse files
ghaskinsecb
authored andcommitted
Yet another CompletableFuture::handle fix
Signed-off-by: Greg Haskins <[email protected]>
1 parent e88eadb commit 22de397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/temporal/internal/promise.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
(reify Promise
2929
(get [_] (.get x))
3030
(handle [_ f]
31-
(->temporal (.handle x (pu/->BiFunctionWrapper (fn [v e] (.apply f v e))))))
31+
(.handle x (pu/->BiFunctionWrapper (fn [v e] (.apply f v e)))))
3232
(isCompleted [_] (.isDone x))))
3333

3434
(defmethod ->temporal :default

0 commit comments

Comments
 (0)