Compatibility shim for otplike.proc-util.
In otplike, execute-proc creates a process context using go blocks. In loom-otp, we use virtual threads directly via vfuture.
Compatibility shim for otplike.proc-util. In otplike, execute-proc creates a process context using go blocks. In loom-otp, we use virtual threads directly via vfuture.
(defn-proc fname args & body)Define a function that runs body in a process context.
Define a function that runs body in a process context.
(execute-proc & body)Executes body in a newly created process context. Returns a promise that will receive the result [:ok res] or [:ex exception].
Executes body in a newly created process context. Returns a promise that will receive the result [:ok res] or [:ex exception].
(execute-proc! & body)Executes body in process context. Blocks waiting for result.
Executes body in process context. Blocks waiting for result.
(execute-proc!! & body)Same as execute-proc! - blocks waiting for result.
Same as execute-proc! - blocks waiting for result.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |