Liking cljdoc? Tell your friends :D

hive-addon.lifecycle.surface

An addon's Surface: the tools and contributed commands a caller can reach it through. Pure. A dormant addon is advertised from its surface, so a surface must be known without mounting.

Portable stratum: no reader conditionals, no for.

An addon's Surface: the tools and contributed commands a caller can reach it
through. Pure. A dormant addon is advertised from its surface, so a surface
must be known without mounting.

Portable stratum: no reader conditionals, no `for`.
raw docstring

blank?clj/s

(blank? surface)

True when SURFACE advertises nothing.

True when SURFACE advertises nothing.
sourceraw docstring

declaredclj/s

(declared spec)

The manifest-declared surface of SPEC, normalized, or nil when absent, malformed, or empty.

The manifest-declared surface of SPEC, normalized, or nil when absent,
malformed, or empty.
sourceraw docstring

empty-surfaceclj/s

source

normalizeclj/s

(normalize surface)

SURFACE with both keys present, tool-defs stripped, command names distinct and sorted, empty command lists dropped.

SURFACE with both keys present, tool-defs stripped, command names distinct and
sorted, empty command lists dropped.
sourceraw docstring

observedclj/s

(observed addon-id tools contributions)

The surface ADDON-ID shows while mounted: TOOLS it returns, plus every command in CONTRIBUTIONS ({tool-name {command-name {:addon id ...}}}) tagged with it.

The surface ADDON-ID shows while mounted: TOOLS it returns, plus every command
in CONTRIBUTIONS ({tool-name {command-name {:addon id ...}}}) tagged with it.
sourceraw docstring

resolve-surfaceclj/s

(resolve-surface spec learned)

[surface source] for SPEC given the LEARNED surface (or nil). Declared wins.

[surface source] for SPEC given the LEARNED surface (or nil). Declared wins.
sourceraw docstring

tool-declclj/s

(tool-decl tool-def)

TOOL-DEF as advertisable data: no handler, nothing that cannot cross a wire.

TOOL-DEF as advertisable data: no handler, nothing that cannot cross a wire.
sourceraw docstring

well-formed?clj/s

(well-formed? s)

True when S has the Surface shape normalize can read.

True when S has the Surface shape normalize can read.
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