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.
(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.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |