Apocrypha

emacs-aio

Async and await functions for Emacs Lisp

aio is to Emacs Lisp as asyncio is to Python. This package builds upon Emacs 25 generators to provide functions that pause while they wait on asynchronous events. They do not block any thread while paused. The main components of this package are aio-defun/aio-lambda to define async function, and aio-await to pause these functions while they wait on asynchronous events. When an asynchronous function is paused, the main thread is not blocked. It is no more or less powerful than callbacks, but is nicer to use. This is implementation is based on Emacs 25 generators, and asynchronous functions are actually iterators in disguise, operated as stackless, asymmetric coroutines.

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 1.1 1 15 h details ›
melpa GitHub ↗ 20260214.1529 1 22 h details ›
melpa-stable GitHub ↗ 1.1 1 22 h details ›

Versions & arches

VersionOverlay amd64x86 Committed
20260214.1529 melpa amd64 testing x86 testing 5 mo view · download · history ↗
1.1 gentoo amd64 stable x86 testing view · download · history ↗
1.1 melpa-stable amd64 testing x86 testing 8 mo view · download · history ↗

Runtime dependencies of 20260214.1529

show 1 lines