wsid_status(+WSID, -Status)
retract(wsid_status(+WSID, -Status))
assertz(wsid_status(+WSID, +Status))
retractall(wsid_status(+WSID, _))
gitty
lost(Time)
if we lost contact at Time or unload
if the websocket was cleanly disconnected.
The Redis version keeps two keys per WSID as described below. Note that these keys only exist on temporary lost or disconnecting websockets.