Skip to content

Async support (asyncio, Twisted, etc.) #483

Open
@glyph

Description

@glyph

I'd love a version of call_on_each_event that would not block, and instead register a callable with a reactor.

This could probably be combined with fairly general / framework agnostic async support by having the existing implementation be converted into a coroutine which awaits different kinds of things (treq requests in the Twisted case, synchronously-returning coroutines that just call requests in the default / existing case, aiohttp Futures for asyncio).

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