Title here
Summary here
Builtin (async func args...)
Calls a function asynchronously with a given set of arguments
Note: The function is started in a separate context, with no access to the others, preventing any concurrency problems.
func: the function to callargs...: the arguments of the function(let foo (fun (a b) (+ a b)))
(async foo 1 2)
Builtin (await future)
Blocks until the result becomes available
future: the future to wait for its result to be available(let foo (fun (a b) (+ a b)))
(let async-foo (async foo 1 2))
(print (await async-foo))