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