Liking cljdoc? Tell your friends :D

catacumba.impl.helpers


asynccljmacro

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

blockingcljmacro

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

completable-future->promiseclj

(completable-future->promise fut)

Coerce jdk8 completable future to ratpack promise.

Coerce jdk8 completable future to ratpack promise.
sourceraw docstring

defaliascljmacro

(defalias sym sym2)
source

fn->actionclj

(fn->action callable)

Coerce a plain clojure function into ratpacks's Action interface.

Coerce a plain clojure function into
ratpacks's Action interface.
sourceraw docstring

fn->blockclj

(fn->block callable)

Coerce a plain clojure function into ratpacks's Block interface.

Coerce a plain clojure function into
ratpacks's Block interface.
sourceraw docstring

fn->functionclj

(fn->function callable)

Coerce a plain clojure function into ratpacks's Function interface.

Coerce a plain clojure function into
ratpacks's Function interface.
sourceraw docstring

IByteBuffercljprotocol

bytebufferclj

(bytebuffer _)

Coerce to byte buffer.

Coerce to byte buffer.
source

IPathcljprotocol

source

IPromiseAcceptorcljprotocol

-acceptclj

(-accept v ds)
source

keywordice-keys-tclj

source

lowercase-keys-tclj

source

on-errorclj

(on-error promise callback)

A ratpack promise chain helper for error case.

A ratpack promise chain helper for error case.
sourceraw docstring

promiseclj

(promise callback)

A convenience function for create ratpack promises.

A convenience function for create ratpack promises.
sourceraw docstring

resolve-fnclj

(resolve-fn func)
source

thenclj

(then promise callback)

A ratpack promise chain helper.

A ratpack promise chain helper.
sourceraw docstring

try-oncljmacro

(try-on & body)
source

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

× close