We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00c5d31 commit ffa73a9Copy full SHA for ffa73a9
src/main/clojure/clojure/core/async.clj
@@ -496,6 +496,11 @@ to catch and handle."
496
(close! c#)))))
497
c#))
498
499
+(defmacro io-thread-loop
500
+ "Like (io-thread (loop ...))"
501
+ [bindings & body]
502
+ `(io-thread (loop ~bindings ~@body)))
503
+
504
(defn thread-call
505
"Executes f in another thread, returning immediately to the calling
506
thread. Returns a channel which will receive the result of calling
0 commit comments