cancel
cancel: (Task) -> ()Stop the task where it waits.
cancelcancel: (Task) -> ()Stop the task where it waits.
isAliveisAlive: (Task) -> booleanNot finished, failed or cancelled.
isDoneisDone: (Task) -> booleanWhether it ran to its end. A failed or cancelled task is not done, and not alive either.
getErrorgetError: (Task) -> anyWhat it failed with, or nil.