unison/unison-src/receive-async.u
2016-09-15 00:09:51 -04:00

9 lines
199 B
Plaintext

do Remote
c := Remote.channel;
r := Remote.receive-async c (Duration.seconds 5);
Remote.fork (Remote.send c (Debug.watch "sent" 42));
-- Remote.send c 42; -- (Debug.watch "sent" 42);
r;;