Skip to main content

Module NotifyCocoonDeltaExtensions

Module NotifyCocoonDeltaExtensions 

Source
Expand description

Post-install/uninstall Cocoon notification.

$deltaExtensions adds or removes the supplied descriptors from Cocoon’s extension registry and indexes activationEvents, but it does not fire those events. The workbench emits $activateByEvent("*") exactly once at boot; anything installed later never sees its startup events re-fired. This helper bursts the single always-satisfied activation event (onStartupFinished) after delta so a VSIX with that trigger activates without a reload.

Fire-and-forget: missing Cocoon (Spawn=false) or a transient RPC failure is logged and swallowed.

Constants§

COCOON_DELTA_TIMEOUT_MS 🔒
Timeout for fire-and-forget $deltaExtensions notifications; long enough to survive a busy Cocoon but short enough that install feedback isn’t blocked on a stalled extension host.
COCOON_SIDE_CAR_IDENTIFIER 🔒
Cocoon sidecar identifier; matches CocoonManagement::COCOON_SIDE_CAR_IDENTIFIER.

Functions§

NotifyCocoonDeltaExtensions