Handy functions to deal with netty futures
Handy functions to deal with netty futures
(add-close-listener chan)
Add close-listener to a channel
Add close-listener to a channel
(add-listener chan listener)
Add a listener to a channel
Add a listener to a channel
(cancelled? f)
Predicate to test for future cancellation
Predicate to test for future cancellation
Listener which closes a channel
Listener which closes a channel
(complete? f)
Predicate to test for future completeness
Predicate to test for future completeness
(deflistener sym [listener ftr bindings] & body)
Define a channel future listener
Define a channel future listener
(incomplete? f)
Predicate to test for future cancellation or failure
Predicate to test for future cancellation or failure
(operation-complete listener)
(operation-complete listener future)
Signal that operation completed on a listener
Signal that operation completed on a listener
(success? f)
Predicate to test for future success
Predicate to test for future success
(with-result [ftr action] & body)
Marco to create future listeners
Marco to create future listeners
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close