cmp.work

check

(check k)

Gets the task from the key k and calls the dispach function on it. Handles the :RunIf case. The :StopIf case is handeled by the workers after processing the task.

dispatch

(dispatch task)

Dispatch depending on the :Action.

future-reg

start!

(start! worker task)

Starts the worker in a new threat. This means that all workers may be single threated.