Skip to main content

execute

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

Signature

async def execute(request: Any, final_handler: Callable) -> Any

Parameters

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

Returns

Returns
Any
The result from the chain