skeeto / emacs-aio

async/await for Emacs Lisp
The Unlicense
215 stars 12 forks source link

Does not work in interactive spec #27

Open Silex opened 2 years ago

Silex commented 2 years ago

Hello,

(aio-defun foo (data)
  (interactive (aio-await foo-async))
  (message data))

That does not work. You need to use (interactive) (setq data (aio-await foo-async))