(compile {:keys [proc-control] :as proc})
triggers an async compilation, use watch to receive notification about worker state
triggers an async compilation, use watch to receive notification about worker state
(compile! {:keys [proc-control] :as proc})
triggers an async compilation and waits for the compilation result (blocking)
triggers an async compilation and waits for the compilation result (blocking)
(load-file worker {:keys [source file-path] :as file-info})
(repl-compile worker input)
(repl-eval worker session-id runtime-id input)
(repl-runtime-connect {:keys [proc-stop proc-control] :as proc}
runtime-id
runtime-out
runtime-info)
called by processes that are able to eval repl commands and report their result
runtime-out should be a channel that receives things generated by shadow.cljs.repl (:repl/invoke, :repl/require, etc)
returns a channel the results of eval should be put in when no more results are coming this channel should be closed
called by processes that are able to eval repl commands and report their result runtime-out should be a channel that receives things generated by shadow.cljs.repl (:repl/invoke, :repl/require, etc) returns a channel the results of eval should be put in when no more results are coming this channel should be closed
(start config
system-bus
executor
cache-root
http
classpath
npm
babel
{:keys [build-id] :as build-config})
(start-autobuild {:keys [proc-control] :as proc})
automatically compile on file changes
automatically compile on file changes
(stop {:keys [fs-watch] :as proc})
(stop-autobuild {:keys [proc-control] :as proc})
(sync! {:keys [proc-control] :as proc})
ensures that all proc-control commands issued have completed
ensures that all proc-control commands issued have completed
(watch proc log-chan)
(watch {:keys [output-mult] :as proc} log-chan close?)
watch all output produced by the worker
watch all output produced by the worker
(worker-request {:keys [proc-control state-ref] :as worker} request)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close