This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-11
Channels
- # beginners (70)
- # clojure (34)
- # clojure-europe (1)
- # clojure-nl (2)
- # clojure-uk (3)
- # clojurescript (140)
- # cursive (6)
- # data-science (1)
- # emacs (8)
- # exercism (1)
- # fulcro (2)
- # gratitude (1)
- # helix (4)
- # hyperfiddle (5)
- # meander (3)
- # missionary (2)
- # pathom (4)
- # polylith (17)
- # reagent (7)
- # reitit (6)
- # reveal (2)
- # shadow-cljs (3)
- # uncomplicate (6)
@tony.kay https://book.fulcrologic.com/#_writing_your_own_remote_implementation:
> A remote is just a map. The map can contain anything you want, but MUST contain a :transmit!
key whose value is a (fn [send-node] )
.
But according to my experiments and Fulcro's code https://github.com/fulcrologic/fulcro/blob/develop/src/main/com/fulcrologic/fulcro/networking/http_remote.cljs#L330 it actually takes two arguments:
(fn transmit! [{:keys [active-requests]} send-node] ...)
Is the book wrong?