MCPcopy Create free account
hub / github.com/DTStack/molecule / inactive

Method inactive

src/services/extensionService.ts:74–74  ·  view source on GitHub ↗

* Disable to activate some extensions, make use of it to filter some * extensions no need to activate. You need register the inactive event before the MoleculeProvider declaration. * @example * ```ts * molecule.extension.inactive((extension: IExtension) => { * if (/^(i

(predicate: (extension: IExtension) => boolean)

Source from the content-addressed store, hash-verified

72 * @param predicate The predicate function
73 */
74 inactive(predicate: (extension: IExtension) => boolean): void;
75 /**
76 * Register a new action which is extends the Action2, and return a disposable instance.
77 * @example

Callers 1

Implementers 1

ExtensionServicesrc/services/extensionService.ts

Calls

no outgoing calls

Tested by

no test coverage detected