Liking cljdoc? Tell your friends :D

langohr.shutdown

Convenience functions for dealing with shutdown signals

Convenience functions for dealing with shutdown signals
raw docstring

channel-ofclj

(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
sourceraw docstring

connection-ofclj

(connection-of sse)

Returns connection the signal is associated with

Returns connection the signal is associated with
sourceraw docstring

hard-error?clj

(hard-error? sse)

Returns true if the ShutDownSignalException signals a connection error

Returns true if the ShutDownSignalException signals a connection
error
sourceraw docstring

initiated-by-application?clj

(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
sourceraw docstring

initiated-by-broker?clj

(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
sourceraw docstring

reason-ofclj

(reason-of sse)
source

soft-error?clj

(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
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close