lib

lib:task

Async task engine

meta

docs

tags

task

Dispatch task function

taskExpr

Task messaging handling Axon expression

taskStatus

Current status of a task

funcs

futureCancel

Cancel a future

futureGet

Block current thread until a future's result is ready

futureIsComplete

Return if a future has completed or is still pending a result

futureState

Return current state of a future as one of the following strings

futureWaitFor

Block until a future transitions to a completed state (ok, err, or canceled)

futureWaitForAll

Block on a list of futures until they all transition to a completed state

task

Lookup a task by id which is any value supported by toRecId()

taskCancel

Set cancel flag for the given task

taskCur

Return current task if running within the context of an asynchronous task

taskIsRunning

Is the current context running asynchrounsly inside a task

taskLocalGet

Get a task local variable by name or def if not defined

taskLocalRemove

Remove a task local variable by name

taskLocalSet

Set a task local variable

taskProgress

Update the current running task's progress data with given dict

taskRefreshUser

Refresh the user account used for tasks

taskRestart

Restart a task

taskRun

Run the given expression asynchronously in an ephemeral task

taskSend

Asynchronously send a message to the given task for processing

taskSendAction

Axon function

taskSendLater

Schedule a message for delivery after the specified period of duration has elapsed

taskSendWhenComplete

Schedule a message for delivery after the given future has completed

taskSleep

Sleep for the given duration

tasks

List the current tasks as a grid