You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling martian/init and immediately dispatching a ::martian/request throws an error in ::on-complete: No protocol method ISet.-disjoin defined for type cljs.core/List
I think it is because re-frame/dispatch-sync is called in an asyncgo block:
Yes, you are right - init is asynchronous because it involves an http call. You can use core.async/<! on the return value of init to block until it is ready, and then make your own call to Martian.
Calling
martian/init
and immediately dispatching a::martian/request
throws an error in::on-complete
:No protocol method ISet.-disjoin defined for type cljs.core/List
I think it is because
re-frame/dispatch-sync
is called in an asyncgo
block:martian/re-frame/src/martian/re_frame.cljs
Line 60 in 6c1a3e6
The text was updated successfully, but these errors were encountered: