Liking cljdoc? Tell your friends :D

hive-addon.lifecycle.port

Ports the lifecycle boundary drives. The host owns its registries; the lifecycle only asks.

Portable stratum.

Ports the lifecycle boundary drives. The host owns its registries; the
lifecycle only asks.

Portable stratum.
raw docstring

atom-surface-storeclj/s

(atom-surface-store)
(atom-surface-store initial)

An in-memory ISurfaceStore.

An in-memory ISurfaceStore.
sourceraw docstring

ILifecycleHostclj/sprotocol

-install-stubs!clj/s

(-install-stubs! host addon-id surface activate!)

Advertise SURFACE for dormant ADDON-ID. A call that reaches a stub first calls (activate!), which answers an ActivationReport, then routes to the real handler the activation contributed. Returns nil.

Advertise SURFACE for dormant ADDON-ID. A call that reaches a stub first
calls (activate!), which answers an ActivationReport, then routes to the
real handler the activation contributed. Returns nil.

-mount!clj/s

(-mount! host specs peer-specs)

Mount SPECS in the given order, resolving dependencies against PEER-SPECS. Returns a MountReport. Never throws.

Mount SPECS in the given order, resolving dependencies against PEER-SPECS.
Returns a MountReport. Never throws.

-observe-surfaceclj/s

(-observe-surface host addon-id)

The Surface mounted ADDON-ID currently shows, or nil.

The Surface mounted ADDON-ID currently shows, or nil.

-remove-stubs!clj/s

(-remove-stubs! host addon-id)

Withdraw the stubs installed for ADDON-ID, leaving any real contribution that replaced one in place. Returns nil.

Withdraw the stubs installed for ADDON-ID, leaving any real contribution
that replaced one in place. Returns nil.

-unmount!clj/s

(-unmount! host addon-id)

Shut ADDON-ID down, withdraw everything it contributed, and forget the instance. MUST NOT delete data. Returns {:ok? bool :errors [..]}.

Shut ADDON-ID down, withdraw everything it contributed, and forget the
instance. MUST NOT delete data. Returns {:ok? bool :errors [..]}.
source

ISurfaceStoreclj/sprotocol

-load-surfaceclj/s

(-load-surface store addon-id)

The last Surface saved for ADDON-ID, or nil.

The last Surface saved for ADDON-ID, or nil.

-save-surface!clj/s

(-save-surface! store addon-id surface)

Remember SURFACE for ADDON-ID. Returns nil.

Remember SURFACE for ADDON-ID. Returns nil.
source

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