asgi_app
functiongworker_client.endpoints.asgi_app
Mark a task as an ASGI app factory. The decorated function must return an ASGI-compatible callable (FastAPI, Starlette, etc.). gworker proxies all HTTP traffic to the app. Combine with @app.task() for resource config.
Signature
python
1asgi_app(requires_auth: bool = True) -> Callable[[_F], _F]