A Lamdera package. It is not on package.elm-lang.org: the Lamdera compiler provides it, from static.lamdera.com, so lamdera install works and elm install does not.
Errors that might happen when sending data.
Close the websocket connection. This won't trigger any close notifications in listen.
Create a websocket handle that you can then open by calling listen or sendString.
Make sure to call close when you are finished with it.
Listen for incoming messages through a websocket connection.
You'll also get notified if the connection closes unexpectedly (or in other words, you won't get notified if you're the one closing it with close).
Send a string
Here are some possible reasons that your websocket connection closed.
A websocket connection