hx.task
Dispatch task function
Async task engine extension
Current status of a task
Cancel a future
Block current thread until a future's result is ready
Return if a future has completed or is still pending a result
Return current state of a future as one of the following strings
Block until a future transitions to a completed state (ok, err, or canceled)
Block on a list of futures until they all transition to a completed state
Lookup a task by id which is any value supported by toRecId()
Set cancel flag for the given task
Return current task if running within the context of an asynchronous task
Is the current context running asynchrounsly inside a task
Get a task local variable by name or def if not defined
Remove a task local variable by name
Set a task local variable
Update the current running task's progress data with given dict
Refresh the user account used for tasks
Restart a task
Run the given expression asynchronously in an ephemeral task
Asynchronously send a message to the given task for processing
Schedule a message for delivery after the specified period of duration has elapsed
Schedule a message for delivery after the given future has completed
Sleep for the given duration
List the current tasks as a grid