Liking cljdoc? Tell your friends :D

skeptic.worker.client

Host-side nREPL client over the Nippy transport: connect to a worker port and send it ops, returning each reply map. The nREPL client is built once at connect time and reused by every ask. Pairs with skeptic.worker.server.

Host-side nREPL client over the Nippy transport: connect to a worker port and
send it ops, returning each reply map. The nREPL client is built once at
connect time and reused by every ask. Pairs with skeptic.worker.server.
raw docstring

askclj

(ask conn msg)

Send msg to the worker and return the merged reply map. nREPL may emit multiple messages per request (an interim :out/:err flush, then the domain reply carrying :status #{:done}); taking (first ...) was a race on which message landed first. Merging every reply through :done gives a strict construction: the result deterministically contains every field any reply for this request carried.

Send `msg` to the worker and return the merged reply map. nREPL may emit
multiple messages per request (an interim `:out`/`:err` flush, then the
domain reply carrying `:status #{:done}`); taking `(first ...)` was a race
on which message landed first. Merging every reply through `:done` gives a
strict construction: the result deterministically contains every field any
reply for this request carried.
sourceraw docstring

connectclj

(connect port)
source

disconnect!clj

(disconnect! conn)
source

loopback-connclj

(loopback-conn handler)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close