Skip to content

Commit

Permalink
docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
dwwoelfel committed Jan 14, 2025
1 parent 980767e commit f373808
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/src/instant/util/async.clj
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@
(.cancel fut interrupt?)))))

(defmacro worker-vfuture
"Creates a "
"Creates a vfuture that does not propagate bindings and does not
track immediate children. Useful for starting a background worker."
[^ExecutorService executor & body]
`(worker-vfuture-call ~executor (^{:once true} fn* [] ~@body)))

Expand Down

0 comments on commit f373808

Please sign in to comment.