Note re poll vs presence

This commit is contained in:
Tony Garnock-Jones 2012-01-11 16:20:28 -05:00
parent 5b9714b4e9
commit 43a76580d6
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@
(send `(display "HI\n"))
(rpc `(sleep 1000))
(send `(display "THERE\n"))))
(poll)
(poll) ;; Wait for drivers to become ready (!)
;; The Right Way to do this is to have presence integrated with subscription
(send `(display "Hello! Enter your name:\n"))
(define name (rpc 'read-line))
(send `(display "Hello, "))