cr0hn/aiotasks

Is it possible to get task id?

Opened this issue · 1 comments

Hi, thank you very much for the project!
I have a question. It's working with celery:
task_id = celery.send_task('task_name')
Celery send_task returns id and I can use it in other place to get result. For example:
result = celery.AsyncResult(task_id)
I tried with aiotasks, but was not successful.
task_id = await send_task("task_name")
Aiotasks send_task returns 1 always. And I don't know how to get a result by task_id.

cr0hn commented

Hi. Not currently. The project is still in a very early state