Browse the packages the workstation knows about. Reads return whatever the workstation has at the moment of the call and the catalog stays current automatically.
Array of PackageRef userdata for every installed package, sorted by namespace then name. Each ref reflects the version actually installed, which may be older than the catalog's latest. Reads this workstation's state, without asking the deployment.
Whether the registry can currently be reached. Checked periodically, and true until the first check. An unreachable registry keeps its catalog entries visible, but installing content from it that is not already on this device fails.
Register a callback fired whenever a catalog entry is added or updated. The callback receives a change table with kind, namespace, and package. Returns a subscription; call :unsubscribe() to stop receiving changes.
Register a callback fired whenever a connected registry's reachability flips (see registries). Returns a subscription; call :unsubscribe() to stop receiving changes.
Types 7
packages.ChangeEvent
record
record3 keys
Key
Type
Description
kind
string
What changed: "added" for a newly listed entry, "updated" for a listed entry whose details or content changed.
The affected library entry. For "uninstalled" it is built from the removed record, so it stays complete even when the version is no longer in any catalog.
Whether the registry can currently be reached. Checked periodically, and true until the first check. An unreachable registry keeps its catalog entries visible, but installing content from it that is not already on this device fails.