Skip to content

Commit

Permalink
Add other minor cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
niwinz committed Dec 3, 2023
1 parent 1ea9a13 commit 9a82616
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions src/promesa/exec.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,6 @@
^Thread thr
^Throwable cause))))

;; FIXME: set correct default virtual thread factory
#?(:clj
(defn structured-task-scope
([]
Expand Down Expand Up @@ -925,15 +924,13 @@
;; (deref m#)))

#?(:clj
(defn await!
"Generic await operation. Block current thread until some operation
terminates.
The return value is implementation specific."
([resource]
(pt/-await! resource))
([resource duration]
(pt/-await! resource duration))))
(defn await!
"Generic await operation. Block current thread until some operatiomn terminates.
The return value is implementation specific."
([resource]
(pt/-await! resource))
([resource duration]
(pt/-await! resource duration))))

(defn close!
([o]
Expand Down

0 comments on commit 9a82616

Please sign in to comment.