Skip to content

Useful constructs building upon asynchronous iterators

License

Notifications You must be signed in to change notification settings

richardkiss/aiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status codecov.io Documentation Status

aiter -- Asynchronous Iterator Patterns

PEP 525 describes asynchronous iterators, a merging of iterators with async functionality. Python 3.6 makes legal constructs such as

async for event in peer.event_iterator:
    await process_event(event)

which is a huge improvement over using async.Queue objects which have no built-in way to determine "end-of-stream" conditions.

This module implements some patterns useful for python asynchronous iterators.

Documentation available on readthedocs.io.

About

Useful constructs building upon asynchronous iterators

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages