Skip to content
Chris Vine edited this page Jan 15, 2017 · 9 revisions

chez-a-sync

This is the chez-a-sync package. It provides both an asynchronous event loop for chez scheme, and coroutines to enable an event loop (including other event loops) to be used with 'await' semantics to deal with inversion of control - otherwise known as "callback hell".

The chez-a-sync package is provided in five library files:

  • (a-sync coroutines) - provides coroutines for await semantics on asynchronous events
  • (a-sync event-loop) - provides an event loop for asynchronous events
  • (a-sync compose) - provides the compose-a-sync macro interface for the a-sync coroutines
  • (a-sync meeting) - provides for synchronization between two a-sync or compose-a-sync blocks
  • (a-sync try) - provides the try macro interface for dealing with exceptions

For an overview of the operation of this package, see the general overview

Clone this wiki locally