Note re poll vs presence
This commit is contained in:
parent
5b9714b4e9
commit
43a76580d6
|
@ -65,7 +65,8 @@
|
||||||
(send `(display "HI\n"))
|
(send `(display "HI\n"))
|
||||||
(rpc `(sleep 1000))
|
(rpc `(sleep 1000))
|
||||||
(send `(display "THERE\n"))))
|
(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"))
|
(send `(display "Hello! Enter your name:\n"))
|
||||||
(define name (rpc 'read-line))
|
(define name (rpc 'read-line))
|
||||||
(send `(display "Hello, "))
|
(send `(display "Hello, "))
|
||||||
|
|
Loading…
Reference in New Issue