(async name & body)
Perform a async operation and return a promise.
Warning: this function does not launch any additional thread, so is the user responsability does not call any blocking call inside the async block.
Perform a async operation and return a promise. Warning: this function does not launch any additional thread, so is the user responsability does not call any blocking call inside the async block.
(blocking & body)
Performs a blocking operation on a separate thread, returning a promise for its value.
Performs a blocking operation on a separate thread, returning a promise for its value.
(completable-future->promise fut)
Coerce jdk8 completable future to ratpack promise.
Coerce jdk8 completable future to ratpack promise.
(fn->action callable)
Coerce a plain clojure function into ratpacks's Action interface.
Coerce a plain clojure function into ratpacks's Action interface.
(fn->block callable)
Coerce a plain clojure function into ratpacks's Block interface.
Coerce a plain clojure function into ratpacks's Block interface.
(fn->function callable)
Coerce a plain clojure function into ratpacks's Function interface.
Coerce a plain clojure function into ratpacks's Function interface.
(bytebuffer _)
Coerce to byte buffer.
Coerce to byte buffer.
(on-error promise callback)
A ratpack promise chain helper for error case.
A ratpack promise chain helper for error case.
(promise callback)
A convenience function for create ratpack promises.
A convenience function for create ratpack promises.
(then promise callback)
A ratpack promise chain helper.
A ratpack promise chain helper.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close