Skip to content

Commit

Permalink
Improve docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
eerohele committed Dec 5, 2024
1 parent b075014 commit 1bf9c7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rad/api.clj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
(String. bs StandardCharsets/UTF_8))

(defmacro ^:private until-interruption
"Given a body, execute the body until the current thread is interrupted."
"Given a body, execute the body in a loop until the current thread is
interrupted."
[& body]
`(while (not (.isInterrupted (Thread/currentThread)))
(do ~@body)))
Expand Down

0 comments on commit 1bf9c7f

Please sign in to comment.