Skip to main content

execute_callback

AsyncFunction
This function is defined in the main module.
Execute both sync and async callbacks for a given display type.

Signature

Parameters

str
required
Type of display event **kwargs: Arguments to pass to the callback functions

Returns

Any
The result of the operation.

Uses

  • inspect.signature
  • asyncio.get_event_loop
  • loop.run_in_executor
  • sync_callback
  • callback

Used By

Source

View on GitHub

praisonaiagents/main.py at line 183