-
-
Save devn/af570b702f68d31da704 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(let [c (chan)] | |
(go (while true | |
(<! (timeout 250)) | |
(>! c 1))) | |
(go (while true | |
(<! (timeout 300)) | |
(>! c 2))) | |
(go (.log js/console (str (<! c))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I saw your comments on this on IRC…did you ever figure out the
Uncaught Error: No protocol method ReadPort.take! defined for type
error that you mentioned there?