But if I just change (defun aio-call-process (program &rest args) to (aio-defun aio-call-process (program &rest args) then nothing works anymore. I'm confused, can you clarify why?
I thought aio-defun was to enable aio-await but that it was still somewhat of a normal function.
Also, apparently I'm supposed to use aio-make-callback to simplify the code above but honestly I have no clue how :sweat_smile:
Hello,
The following code works:
But if I just change
(defun aio-call-process (program &rest args)
to(aio-defun aio-call-process (program &rest args)
then nothing works anymore. I'm confused, can you clarify why?I thought
aio-defun
was to enableaio-await
but that it was still somewhat of a normal function.Also, apparently I'm supposed to use
aio-make-callback
to simplify the code above but honestly I have no clue how :sweat_smile: