Skip to content

Commit

Permalink
Display return values
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwanami committed Mar 12, 2013
1 parent 50e41b8 commit a9edd84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demo/echo-client.el
Expand Up @@ -13,10 +13,10 @@
(deferred:nextc it
(lambda (x) (message "Return : %S" x))))

(epc:call-sync epc 'echo '(10 40))
(epc:call-sync epc2 'add '(10 40))
(message "%S" (epc:call-sync epc 'echo '(10 40)))
(message "%S" (epc:call-sync epc2 'add '(10 40)))

(epc:sync epc (epc:query-methods-deferred epc))
(message "%S" (epc:sync epc (epc:query-methods-deferred epc)))

(epc:stop-epc epc)
(epc:stop-epc epc2)

0 comments on commit a9edd84

Please sign in to comment.