extensionId
extensionId<
T>(name,factory):ExtensionId<T>
Defined in: src/Extension.ts:26
Helper: build an ExtensionId with a global-symbol-registered key so that two distinct imports of the same module resolve to the same extension.
Type Parameters
Section titled “Type Parameters”T extends Extension
Parameters
Section titled “Parameters”string
factory
Section titled “factory”(system) => T
Returns
Section titled “Returns”ExtensionId<T>