async_task
Decorator to turn an async def function into a runnable task, for
use with AsyncWorker. See
tasks.task for the sync equivalent.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
function
|
Callable
|
An |
required |
Source code in src/alchemical_queues/tasks/aio.py
162 163 164 165 166 167 168 169 170 171 172 173 174 | |