Skip to content

The asyncio documentation is missing a landing page #124668

Closed as not planned
Closed as not planned
@jedreky

Description

@jedreky

Documentation

Hi, I have just spent about 2 days figuring out how to use asyncio in my project. I realised that the asyncio documentation is missing a landing page where a developer who's not familiar with async programming can get some basic understanding of the library and more importantly can find out which tools will be appropriate for their specific situation.

For instance in my situation the main problem was that I wanted an event loop to which I can dynamically on-the-fly add new tasks. This seems pretty standard, but nevertheless it took some browsing and I finally I found an answer here: https://stackoverflow.com/questions/34499400/how-to-add-a-coroutine-to-a-running-asyncio-loop. I think an example like this should be somewhere in the official documentation.

Also, my process is started by the multiprocessing module, so I couldn't just use asyncio.run() (I think), I had to dig a bit deeper. The explanation of how to deal with the event loop is not always that detailed.

Anyway, I think this is a great library and it would be great to get more people to use it. I would be happy to contribute to the docs, but I would need support from someone who's an active developer of asyncio.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions