task
macro
(task &body forms)
Creates a task that runs forms. The return value of task is a ThreadContext
object that exposes the method GetResult and the property IsCompleted.
GetResult blocks until IsCompleted is true.
make-html > (let a (task (* 1 2 3 4 5)))
it: a
make-html > (.get-result a)
it: 120
make-html > (.is-completed a)
it: true