Simple adapter code that allows you to use a generic parser 'as if' it were a client remote in CLJS.
Simple adapter code that allows you to use a generic parser 'as if' it were a client remote in CLJS.
(mock-http-server {:keys [parser] :as options})Create a remote that mocks a Fulcro remote server.
:parser - A function (fn [eql-query] async-channel) that returns a core async channel with the result for the
given eql-query.
Create a remote that mocks a Fulcro remote server. :parser - A function `(fn [eql-query] async-channel)` that returns a core async channel with the result for the given eql-query.
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 |