Currently an async view in e.g a starlette application that launches and awaits some asyncio tasks will not have them in its trace.
Our current context holder, asgiref.local, deliberately doesn't restricts context per task. This makes sense since they can be left runnign after the request completes, for example for Starlette's background tasks.
We should provide some way of preserving the tracked request into launched tasks. Need to research state of the art here.
Currently an async view in e.g a starlette application that launches and awaits some asyncio tasks will not have them in its trace.
Our current context holder, asgiref.local, deliberately doesn't restricts context per task. This makes sense since they can be left runnign after the request completes, for example for Starlette's background tasks.
We should provide some way of preserving the tracked request into launched tasks. Need to research state of the art here.