Skip to main content

Coroutine scheduler for Python 3.5's await syntax

Project description

Asynker (IPA: /eɪˈsɪŋkɜːn/) is pretty much the least amount of code you need to use the “await” syntax. Typically packages like asyncio or curio implement two concepts at once: a scheduler and an event loop. The scheduler is a piece of code that decides what to run next and then runs it. The event loop is a piece of code that tells the scheduler what it can run.

Asynker only provides the scheduling part. This generally only makes sense if you are using something else as the event loop, e.g. something callback-based. Asynker allows you to use a callback-based system and easily convert it into a coroutine/await-based system.

The Future class used in Asynker is unrelated to any of the various Future classes found in the Python standard library (for now, anyway).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asynker-0.2.tar.gz (7.3 kB view details)

Uploaded Source

File details

Details for the file asynker-0.2.tar.gz.

File metadata

  • Download URL: asynker-0.2.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for asynker-0.2.tar.gz
Algorithm Hash digest
SHA256 ff9b772a9134bf8b2322f35e79fe5c7bee5daced7e46980e711aa65c5280439b
MD5 dd4bf1dba951e30422ec7e1f548f3def
BLAKE2b-256 906db777e9acbacfd0a4153b7c21c1388fd5457df49513d724a70402cffa15d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page