execute_callback_sync
Method
This is a method of the Task class in the task module.Synchronous wrapper to ensure that execute_callback is awaited, preventing ‘Task was destroyed but pending!’ warnings if called from non-async code.
Signature
Parameters
No description available.
Uses
asyncio.get_running_looploop.is_runningloop.create_taskexecute_callbackloop.run_until_completeasyncio.run
Used By
Source
View on GitHub
praisonaiagents/task/task.py at line 707
