Skip to main content
Corvus Connection

OnConnectionLost

Attribute
TheOmenDen.StreamPulse.Scripting.Attributes.OnConnectionLostAttributeMarks a method as a handler fired when a monitored socket connection drops abnormally and does not recover within the debounce grace (spec 023). Never fires for spotify (no socket — strict matrix). Fires for every other applicable source; read e.Source to branch. The method must accept (IScriptContext, ConnectionHealthContext). See OnChatMessageAttribute for the supported return types.