0.11.0
feat: Support for polymorphic task.run
, task.run_async
.
We can now use this syntax:
result = task[DesiredType].run(msg, ...) # similar for run_async
where msg
can be of any type and DesiredType
is the desired type of the task result.
See: