Skip to content

Concurrency sub-package #245

Closed
Closed

Description

@florimondmanca

Currently, the concurrency.py module is actually asyncio-specific. Preparing for alternative concurrency backend support, we should consider spinning it into a concurrency/asyncio.py, leaving room for backend-related stuff to go into concurrency package.

Activity

  1. lovelydinosaur commented on Aug 20, 2019

    @lovelydinosaur
    Member

    Yup. Let's also go for concurrency/base.py or concurrency/interfaces.py for the base interfaces, to keep things cleaner.

    We may also want to not expose the concurrency interfaces at the top level of the httpx namespace, but instead end up with httpx.concurrency.BaseSemaphore etc... since we won't generally expect our user base to be implementing custom concurrency backends.

  2. florimondmanca commented on Aug 20, 2019

    @florimondmanca
    ContributorAuthor

    Reopening this for the interfaces.py bit. :-)

  3. florimondmanca commented on Aug 20, 2019

    @florimondmanca
    ContributorAuthor

    Actually... -> #249

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions