asyncio support

Open
#2 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Start with the README's description of missing asyncio support, then investigate the referenced asyncio.Task.current_task and loop.set_task_factory APIs. Determine whether the proposed contextvars task factory approach fits the project; done should mean asyncio support is implemented and its behavior is covered by appropriate tests.

Written by the indexing model from the issue text.

Description

Hi! I know that asyncio support is not yet implemented (as described on README), but to "get there" wouldn't be like adding some kind of contextvars task factory into the asyncio.Task.current_task using loop.set_task_factory? Thanks! 😃

Dominant language
Python
Stars
90
Forks
9
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MagicStack/contextvars

All issues in MagicStack/contextvars

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.