Liking cljdoc? Tell your friends :D

com.blockether.vis.internal.extension.babashka-worker

Load a contract into a trusted worker owned by one extension scope.

Load a contract into a trusted worker owned by one extension scope.
raw docstring

close!clj

(close! pool)

Stop all owned workers and refuse more registrations.

Stop all owned workers and refuse more registrations.
sourceraw docstring

installed-executableclj

(installed-executable environment)

Get the binary for the session's pinned Babashka adapter. Do not search PATH.

Get the binary for the session's pinned Babashka adapter. Do not search PATH.
sourceraw docstring

invoke!clj

(invoke! {:keys [tools] :as entry} environment id args)

Call a registered tool. A dead worker starts again for the next call. A call that loses its worker is never tried again.

Call a registered tool. A dead worker starts again for the next call. A call
that loses its worker is never tried again.
sourceraw docstring

poolclj

(pool)

Make the gateway-owned pool. Close it before gateway shutdown.

Make the gateway-owned pool. Close it before gateway shutdown.
sourceraw docstring

register!clj

(register! pool
           {:keys [scope package-root classpath executable environment state-dir
                   state-scope path-env startup-timeout-ms timeout-ms]
            :or {startup-timeout-ms 5000}})

Load and check an installed package before publishing its registry spec.

:scope is the pool owner key. :package-root is the installed current directory. :classpath overrides the prepared package-local paths from classpath.json. Either pass the session :environment (for its pinned binary) or an absolute :executable. The same immutable package and executable reuse one worker within the scope. Pass :state-scope when different worker owners share durable extension state.

Load and check an installed package before publishing its registry spec.

:scope is the pool owner key. :package-root is the installed current directory.
:classpath overrides the prepared package-local paths from classpath.json. Either pass the
session :environment (for its pinned binary) or an absolute :executable.
The same immutable package and executable reuse one worker within the scope.
Pass :state-scope when different worker owners share durable extension state.
sourceraw docstring

stop-scope!clj

(stop-scope! pool scope)

Stop and forget all workers owned by this scope. Call before session retirement or reload.

Stop and forget all workers owned by this scope. Call before session retirement or reload.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close