Closed abritov closed 1 year ago
This is because you haven't resolved your system. Try this instead:
(def config {:executor juxt.clip.promesa/exec
:components
{:a {:start (list promesa.core/resolved 10)}}})
(def system (clip/start config))
(-> system (.then #(clip/stop config %)))
Output:
; Execution error (Error) at (<cljs repl>:1). ; [object Promise] is not ISeqable
Expected to run without errors.
shadow-cljs.edn
"shadow-cljs": "2.25.2" Clojure CLI version 1.11.1.1323