futura.executor
A basic abstraction for executor services.
execute
(execute task)
(execute executor task)
Execute a task in a provided executor.
A task is a plain clojure function or jvm Runnable instance.
submit
(submit task)
(submit executor task)
Submit a task to be executed in a provided executor and return a promise that will be completed with the return value of a task.
A task is a plain clojure function.