Skip to content

WebSocket Client. How to send messages using function prompt()? #9372

Answered by lucacasonato
suchislife801 asked this question in Q&A
Discussion options

You must be logged in to vote

You're call to prompt blocks the event loop from running. If you want a non blocking prompt, use readLines from std/io.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by suchislife801
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants