mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
feat: pass handler task to result
This commit is contained in:
parent
6c7ef6ae86
commit
d67011605c
1 changed files with 1 additions and 0 deletions
|
|
@ -1199,6 +1199,7 @@ class Dispatcher(DataMixin, ContextInstanceMixin):
|
|||
async def wrapper(*args, **kwargs):
|
||||
task = self._loop_create_task(func(*args, **kwargs))
|
||||
task.add_done_callback(process_response)
|
||||
return task
|
||||
|
||||
return wrapper
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue