Convenience functions for dealing with shutdown signals
Convenience functions for dealing with shutdown signals
(channel-of sse)
Returns the channel the signal is associated with. nil if shutdown was initiated because of connection closure
Returns the channel the signal is associated with. nil if shutdown was initiated because of connection closure
(connection-of sse)
Returns connection the signal is associated with
Returns connection the signal is associated with
(hard-error? sse)
Returns true if the ShutDownSignalException signals a connection error
Returns true if the ShutDownSignalException signals a connection error
(initiated-by-application? sse)
Returns true if this if this exception was caused by explicit application action; false if it originated with the broker or as a result of detectable non-deliberate application failure
Returns true if this if this exception was caused by explicit application action; false if it originated with the broker or as a result of detectable non-deliberate application failure
(initiated-by-broker? sse)
Returns true if this if this exception was initiated by the broker because of a channel or connection exception
Returns true if this if this exception was initiated by the broker because of a channel or connection exception
(soft-error? sse)
Returns true if the ShutdownSignalException does not signal a connection error
Returns true if the ShutdownSignalException does not signal a connection error
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close