(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 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 |