From 9a82616a8c12441eb36dae2f64865451c4f34c58 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sun, 3 Dec 2023 23:54:17 +0100 Subject: [PATCH] Add other minor cosmetic changes --- src/promesa/exec.cljc | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/promesa/exec.cljc b/src/promesa/exec.cljc index 5fd6be4..86c02b6 100644 --- a/src/promesa/exec.cljc +++ b/src/promesa/exec.cljc @@ -788,7 +788,6 @@ ^Thread thr ^Throwable cause)))) -;; FIXME: set correct default virtual thread factory #?(:clj (defn structured-task-scope ([] @@ -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]