Blocks for a mbox message from the control thread and executes it
when received. The mbox message is expected to be a slime-fn.
(defn eval-from-control
"Blocks for a mbox message from the control thread and executes it
when received. The mbox message is expected to be a slime-fn."
([] (let [form (mb/receive (current-thread))]
(apply (ns-resolve *ns* (first form)) (rest form)))))
Comments top
No comments for eval-from-control. Log in to add a comment.