otplike.proc-util

defn-proc

macro

(defn-proc fname args & body)

Defines function with name fname, arguments args. body is executed in a newly created process context.

execute-proc

macro

(execute-proc & body)

Executes body in a newly created process context. Returns channel which will receive the result.

execute-proc!

macro

(execute-proc! & body)

Executes body in a newly created process context. Parks waiting for the result.

execute-proc!!

macro

(execute-proc!! & body)

The same as execute-proc! but blocks.