You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asyncio.create_task() from the standard library allows for identifying tasks with names. This seems particularly handy in case where you want to know about the status of a background task in Quart context and I think it'd be a nice feature to support. In the app that I'm currently working on, I'm using the background task to run an MQTT listener and logger, which can be configured via HTTP/GraphQL.
To ensure compatibility, I'd propose a check for 'name' in the kwargs and passing that to the task creation LOC
An example of how'd I'd like to be able to use this feature:
asyncio.create_task()
from the standard library allows for identifying tasks with names. This seems particularly handy in case where you want to know about the status of a background task in Quart context and I think it'd be a nice feature to support. In the app that I'm currently working on, I'm using the background task to run an MQTT listener and logger, which can be configured via HTTP/GraphQL.To ensure compatibility, I'd propose a check for 'name' in the kwargs and passing that to the task creation LOC
An example of how'd I'd like to be able to use this feature:
The text was updated successfully, but these errors were encountered: