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 is a website building & hosting documentation for Clojure/Script libraries
× close