Hey, hope you don't mind if I ask for some help.
Have you had any trouble reading from the Slack websocket? I've tried the same websocket library you use here but, every time I try to read from it after making a connection, it reads the first { type: "hello" } but any subsequent reads get stuck and just hang until I interrupt them.
I was originally working off of some Python code and I noticed that, immediately after connecting to the websocket, they run websocket.sock.setblocking(0) but I couldn't seem to find any documentation for the websocket Python library to explain what that's doing.
Trying to read from the websocket in Python without that setblocking() method has the same affect (the read getting stuck until I interrupt it) but I don't quite know what it does and couldn't find anything for the Racket websocket documentation.
I also noticed you didn't have any intermediate step in your code between connecting and reading so I was wondering if you'd experienced the same behavior, any.
Thanks a ton any for any help.
Hey, hope you don't mind if I ask for some help.
Have you had any trouble reading from the Slack websocket? I've tried the same websocket library you use here but, every time I try to read from it after making a connection, it reads the first
{ type: "hello" }but any subsequent reads get stuck and just hang until I interrupt them.I was originally working off of some Python code and I noticed that, immediately after connecting to the websocket, they run
websocket.sock.setblocking(0)but I couldn't seem to find any documentation for thewebsocketPython library to explain what that's doing.Trying to read from the websocket in Python without that
setblocking()method has the same affect (the read getting stuck until I interrupt it) but I don't quite know what it does and couldn't find anything for the Racket websocket documentation.I also noticed you didn't have any intermediate step in your code between connecting and reading so I was wondering if you'd experienced the same behavior, any.
Thanks a ton any for any help.