Cotal TypeScript packages
    Preparing search index...

    Function bindExtensionPeers

    • Bind installed extensions' shared peers to the current host. Callers must hold the extension lock. onAbsent receives another owner whose package directory does not exist, which has no links to keep, instead of the bind failing on it. Without it, or for operationPkg itself, an absent package throws like any other unreadable one. operationMetadata reuses the operation's already validated package read; other owners are read through installedExtensionPackage.

      Parameters

      • owners: readonly string[]
      • operationPkg: string
      • opts: {
            force?: boolean;
            onAbsent?: (owner: string) => void;
            operationMetadata?: InstalledExtensionPackage;
        } = {}

      Returns readonly BoundExtensionPeer[]