struct async_task

Defined at line 26 of file ../../sdk/lib/async/include/lib/async/task.h

Holds context for a task and its handler.

After successfully posting the task, the client is responsible for retaining

the structure in memory (and unmodified) until the task's handler runs, the task

is successfully canceled, or the dispatcher shuts down. Thereafter, the task

may be posted again or destroyed.

Public Members

 state
async_task_handler_t * handler
zx_time_t deadline