@punica/editor 1.0.8 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -499,6 +499,20 @@ declare module 'punica' {
|
|
|
499
499
|
*/
|
|
500
500
|
deactivate(extensionName: string): Promise<void>;
|
|
501
501
|
|
|
502
|
+
/**
|
|
503
|
+
* Unload an extension — the inverse of `load()`. Removes all
|
|
504
|
+
* analysis-phase registrations (metadata, runtime state, capability
|
|
505
|
+
* index, instruction classes, command-activation map, startup sets)
|
|
506
|
+
* so the manager fully forgets the name.
|
|
507
|
+
*
|
|
508
|
+
* Does NOT run runtime disposal — call `deactivate()` first.
|
|
509
|
+
* Precondition: runtime state is `loaded` or `failed` (unknown names
|
|
510
|
+
* are a no-op); rejects while `active`/`activating`/`deactivating`.
|
|
511
|
+
* The dynamically imported ES module is not evicted (inert until the
|
|
512
|
+
* next restart).
|
|
513
|
+
*/
|
|
514
|
+
unload(extensionName: string): Promise<void>;
|
|
515
|
+
|
|
502
516
|
/**
|
|
503
517
|
* Current runtime state of an extension, or undefined when not
|
|
504
518
|
* loaded.
|