Liking cljdoc? Tell your friends :D

reacl-c-basics.ajax-test-util


request-subscribe-effect-requestcljs

(request-subscribe-effect-request eff)
source

request-subscribe-effect?cljs

(request-subscribe-effect? eff & [request])

Returns if the given effect action performs the subscription to the result of the given request.

Returns if the given effect action performs the subscription to the result of the given request.
sourceraw docstring

request-unsubscribe-effect-requestcljs

(request-unsubscribe-effect-request eff)
source

request-unsubscribe-effect?cljs

(request-unsubscribe-effect? eff)

Returns if the given effect action performs the unsubscription from the result of the given request.

Returns if the given effect action performs the unsubscription from the result of the given request.
sourceraw docstring

requests-emulatorcljs

(requests-emulator f)

Returns an effect reducer, that calls f for all ajax requests that are subscribed to in a test environment, and if f returns a response, then makes it an action emitted from the corresponding subscription item. Otherwise it is passed on.

Returns an effect reducer, that calls f for all ajax requests that
are subscribed to in a test environment, and if f returns a
response, then makes it an action emitted from the corresponding
subscription item. Otherwise it is passed on.
sourceraw docstring

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

× close