From 7828577f8e6d8e26daa860061924d357d88deb38 Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Sun, 26 Apr 2026 18:33:29 +0200 Subject: [PATCH] update aio --- elpa/aio-20260214.1529/README-elpa | 14 ++++++++++++++ .../README.md | 0 .../UNLICENSE | 0 .../aio-autoloads.el | 0 .../aio-pkg.el | 6 +++--- .../{aio-20251117.644 => aio-20260214.1529}/aio.el | 8 ++++---- 6 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 elpa/aio-20260214.1529/README-elpa rename elpa/{aio-20251117.644 => aio-20260214.1529}/README.md (100%) rename elpa/{aio-20251117.644 => aio-20260214.1529}/UNLICENSE (100%) rename elpa/{aio-20251117.644 => aio-20260214.1529}/aio-autoloads.el (100%) rename elpa/{aio-20251117.644 => aio-20260214.1529}/aio-pkg.el (70%) rename elpa/{aio-20251117.644 => aio-20260214.1529}/aio.el (99%) diff --git a/elpa/aio-20260214.1529/README-elpa b/elpa/aio-20260214.1529/README-elpa new file mode 100644 index 00000000..be6c7125 --- /dev/null +++ b/elpa/aio-20260214.1529/README-elpa @@ -0,0 +1,14 @@ +`aio` is to Emacs Lisp as [`asyncio`][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. diff --git a/elpa/aio-20251117.644/README.md b/elpa/aio-20260214.1529/README.md similarity index 100% rename from elpa/aio-20251117.644/README.md rename to elpa/aio-20260214.1529/README.md diff --git a/elpa/aio-20251117.644/UNLICENSE b/elpa/aio-20260214.1529/UNLICENSE similarity index 100% rename from elpa/aio-20251117.644/UNLICENSE rename to elpa/aio-20260214.1529/UNLICENSE diff --git a/elpa/aio-20251117.644/aio-autoloads.el b/elpa/aio-20260214.1529/aio-autoloads.el similarity index 100% rename from elpa/aio-20251117.644/aio-autoloads.el rename to elpa/aio-20260214.1529/aio-autoloads.el diff --git a/elpa/aio-20251117.644/aio-pkg.el b/elpa/aio-20260214.1529/aio-pkg.el similarity index 70% rename from elpa/aio-20251117.644/aio-pkg.el rename to elpa/aio-20260214.1529/aio-pkg.el index 2716b4d7..f29edc1c 100644 --- a/elpa/aio-20251117.644/aio-pkg.el +++ b/elpa/aio-20260214.1529/aio-pkg.el @@ -1,9 +1,9 @@ ;; -*- no-byte-compile: t; lexical-binding: nil -*- -(define-package "aio" "20251117.644" +(define-package "aio" "20260214.1529" "Async/await for Emacs Lisp." '((emacs "26.1")) :url "https://github.com/skeeto/emacs-aio" - :commit "58157e51e7eb7a4b954894ee4182564c507a2f01" - :revdesc "58157e51e7eb" + :commit "0e94a06bb035953cbbb4242568b38ca15443ad4c" + :revdesc "0e94a06bb035" :authors '(("Christopher Wellons" . "wellons@nullprogram.com")) :maintainers '(("Christopher Wellons" . "wellons@nullprogram.com"))) diff --git a/elpa/aio-20251117.644/aio.el b/elpa/aio-20260214.1529/aio.el similarity index 99% rename from elpa/aio-20251117.644/aio.el rename to elpa/aio-20260214.1529/aio.el index 3b297845..57961cbf 100644 --- a/elpa/aio-20251117.644/aio.el +++ b/elpa/aio-20260214.1529/aio.el @@ -4,8 +4,8 @@ ;; Author: Christopher Wellons ;; URL: https://github.com/skeeto/emacs-aio -;; Package-Version: 20251117.644 -;; Package-Revision: 58157e51e7eb +;; Package-Version: 20260214.1529 +;; Package-Revision: 0e94a06bb035 ;; Package-Requires: ((emacs "26.1")) ;;; Commentary: @@ -248,8 +248,8 @@ a chain of promise-yielding promises." (defmacro aio-all (promises) "Return a promise that resolves when all PROMISES are resolved." `(let ((promises ,promises)) - (while-let ((promise (pop promises))) - (aio-await promise)))) + (while promises + (aio-await (pop promises))))) (defun aio-catch (promise) "Return a new promise that wraps PROMISE but will never signal. -- 2.47.3