3 Adds the ability to process Lisp concurrently, with a very simple syntax:
6 ;; What to do in the child process
8 (message "This is a test")
12 ;; What to do when it finishes
14 (message "Async process done, result should be 222: %s" result)))
16 If you omit the callback function, `async-start` will return a process object
17 that you can call `async-get` on when you're ready to wait for the result
20 (let ((proc (async-start
21 ;; What to do in the child process
23 (message "This is a test")
26 (message "I'm going to do some work here")
28 (message "Async process done, result should be 222: %s"
31 If you don't want to use a callback, and you don't care about any return value
32 form the child proces, pass the `ignore` symbol as the second argument:
36 (delete-file "a remote file on a slow link" nil))