mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-27 08:21:16 +00:00
Changelog: ============= - "sync_to_async" gains a "context" parameter, similar to those for "asyncio.create_task", "TaskGroup" &co, that can be used on Python 3.11+ to control the context used by the underlying task. The parent context is already propagated by default but the additional control is useful if multiple "sync_to_async" calls need to share the same context, e.g. when used with "asyncio.gather()". Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
669 B
669 B