AsyncQueuedTask
Bases: Generic[RValue]
Async equivalent of tasks.QueuedTask.
Attributes:
| Name | Type | Description |
|---|---|---|
entry_id |
int
|
The id of the entry into the queue that contains the task description. |
Source code in src/alchemical_queues/tasks/aio.py
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
done()
async
Whether this task has a recorded outcome yet. See QueuedTask.done for details.
Source code in src/alchemical_queues/tasks/aio.py
55 56 57 58 59 60 | |
result()
async
Obtain the result of a queued task if it is finished, an exception if the task failed to run, or None if the task has not completed. See QueuedTask.result for details.
Source code in src/alchemical_queues/tasks/aio.py
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |