镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Implement async calls #1

Closed
Closed

Description

@MelindaShore

The Python "twisted" library is callback-based, popular, part of the standard installation, and a good match. I added an optional callback argument to general() and we can switch sync/async based on its presence

Activity

  1. MelindaShore commented on Apr 11, 2014

    @MelindaShore
    ContributorAuthor

    Update: the async stuff is implemented through the getdns extensions but the caller is still blocking until the callback returns (I forgot to fix this before today). Users have requested exposing the file descriptor interface so this is going to be redesigned, anyway.

  2. MelindaShore commented on Aug 19, 2014

    @MelindaShore
    ContributorAuthor

    Done but needs a little more test. This may be worth writing up, as there's basically nothing out there on how to do this sort of thing in Python modules written in C.

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