I'm currently experimenting with moving more of my development workflow into org-mode so I can keep better track of what testing I've done. However some of the steps involve asynchronous calls to RPC services. The following snippet shows the problem:
#+name: simple-async-example #+begin_src emacs-lisp (async-start ;; What to do in the child process (lambda () (message "This is a test") (sleep-for 3) 222) ;; What to do when it finishes (lambda (result) (format "Async process done - result should be 222: %s" result))) #+end_src #+RESULTS: simple-async-example : #<process emacs> As you can see the result comes from the first task. What I need to do is append the actual result once the processing has been completed. Is there any way to achieve this?