orus-io /
elm-nats
/ Nats.Events
Event types
type
SocketEvent
=
SocketOpen Nats.Protocol.ServerInfo
|
SocketClose
|
SocketError String
|
RequestCancel ({ sid : String, id : String, marker : Maybe String, subject : String, inbox : String })
Event send during a socket lifecycle