Liking cljdoc? Tell your friends :D

hive-vscode.addon

IAddon for the VS Code vessel. Construction is pure; initialize! starts a hive-vessel.executor.sse bridge on loopback (token-gated, every browser Origin refused), writes the discovery file the extension reads, builds the hive-vessel target and hands it to an injected :vessel/register-target-fn.

IAddon for the VS Code vessel. Construction is pure; initialize! starts a
hive-vessel.executor.sse bridge on loopback (token-gated, every browser
Origin refused), writes the discovery file the extension reads, builds the
hive-vessel target and hands it to an injected :vessel/register-target-fn.
raw docstring

addon-ctorclj

(addon-ctor config)

hive-addon.mount constructor: config -> uninitialized IAddon.

hive-addon.mount constructor: config -> uninitialized IAddon.
sourceraw docstring

addon-id-valueclj

source

bridge-ofclj

(bridge-of a)

The hive-vessel.executor.sse bridge of an initialized ADDON, or nil.

The hive-vessel.executor.sse bridge of an initialized ADDON, or nil.
sourceraw docstring

discovery-docclj

(discovery-doc {:keys [port token pid]})
source

discovery-pathclj

(discovery-path xdg-runtime-dir)

Discovery file for the VS Code vessel under XDG-RUNTIME-DIR (may be nil).

Discovery file for the VS Code vessel under XDG-RUNTIME-DIR (may be nil).
sourceraw docstring

make-addonclj

(make-addon)
(make-addon seed)

Uninitialized IAddon. No bridge, file or registry mutation occurs.

Uninitialized IAddon. No bridge, file or registry mutation occurs.
sourceraw docstring

new-tokenclj

(new-token)

32 hex chars from a SecureRandom.

32 hex chars from a SecureRandom.
sourceraw docstring

parse-replyclj

(parse-reply raw)

A window's raw POST body as a string-keyed map; an unparseable body becomes a failed reply.

A window's raw POST body as a string-keyed map; an unparseable body becomes a
failed reply.
sourceraw docstring

repliesclj

(replies a)

Parsed replies retained by an initialized ADDON's bridge (latest 100), or nil.

Parsed replies retained by an initialized ADDON's bridge (latest 100), or nil.
sourceraw docstring

targetclj

(target b)

hive-vessel target executing :json natives through the sse BRIDGE.

hive-vessel target executing :json natives through the sse BRIDGE.
sourceraw docstring

target-hook-keyclj

IAddon hook key: a zero-arg fn returning the current hive-vessel target, or nil before initialize! and after shutdown!.

IAddon hook key: a zero-arg fn returning the current hive-vessel target, or nil
before initialize! and after shutdown!.
sourceraw docstring

vessel-idclj

source

vessel-targetclj

(vessel-target a)

The hive-vessel target of an initialized ADDON, or nil.

The hive-vessel target of an initialized ADDON, or nil.
sourceraw docstring

write-private!clj

(write-private! path content)

Atomically write CONTENT to PATH with mode 0600 inside a 0700 directory.

Atomically write CONTENT to PATH with mode 0600 inside a 0700 directory.
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