Liking cljdoc? Tell your friends :D
ClojureScript only.

com.fulcrologic.fulcro.networking.mock-server-remote

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.
raw docstring

mock-http-servercljs

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

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

× close