Skip to main content

execute

AsyncMethod
This is a method of the AsyncMiddlewareChain class in the middleware module.
Execute the async middleware chain.

Signature

Parameters

Any
required
The request object to pass through
Callable
required
The actual async operation to perform

Returns

Any
The result from the chain

Uses

  • final_handler
  • build_chain
  • middleware
  • chain

Used By

Source

View on GitHub

praisonaiagents/hooks/middleware.py at line 156