Skip to content

Commit fd16cb0

Browse files
committed
fixing async docstring
1 parent f911113 commit fd16cb0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/clojure/clojure/core/async.clj

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Use the Java system property `clojure.core.async.vthreads` to control
4646
how core.async uses JDK 21+ virtual threads. The property can be one of
4747
the following values:
4848
49-
\"unset\" - default to ioc when aot, always
49+
unset - default to ioc when aot, always
5050
5151
\"target\" - target vthreads when compiling go and require them at runtime
5252
use vthreads in io-thread when available
@@ -154,11 +154,11 @@ the following values:
154154
(defmacro defparkingop
155155
[op doc arglist & body]
156156
(let [as (mapv #(list 'quote %) arglist)
157-
delegate (-> op name (str "!") symbol)]
157+
blockingop (-> op name (str "!") symbol)]
158158
`(def ~(with-meta op {:arglists `(list ~as) :doc doc})
159159
(if (dispatch/targetting-vthreads?)
160160
(fn [~'& ~'args]
161-
~(list* apply delegate '[args]))
161+
~(list* apply blockingop '[args]))
162162
(fn ~arglist
163163
~@body)))))
164164

0 commit comments

Comments
 (0)