std.scheduler.common

all-ids

added in 3.0

(all-ids f runner)

returns all running program ids

gen-spawn

macro

added in 3.0

(gen-spawn & pairs)

generates a spawn/runtime forms

gen-spawn-all

macro

added in 3.0

(gen-spawn-all & pairs)

generates all spawn/runiime forms

kill-runtime

added in 3.0

(kill-runtime {:keys [scheduler core], :as runtime})

kills all objects in the runtime

(kill-runtime (new-runtime))

new-runtime

added in 3.0

(new-runtime)(new-runtime {:keys [pool]})

contructs a new runtime for runner

(def -rt- (new-runtime))

spawn-all-form

added in 3.0

(spawn-all-form [sym spawn-sym])

generates all forms

spawn-form

added in 3.0

(spawn-form [sym spawn-sym])

generate a spawn/runtime form

stop-runtime

added in 3.0

(stop-runtime {:keys [scheduler core], :as runtime})

stops the executors in the new instance

(stop-runtime (new-runtime))