MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / extend

Method extend

packages/core/src/plugin/plugin-runtime.ts:78–83  ·  view source on GitHub ↗
(pluginExtend: PluginExtend)

Source from the content-addressed store, hash-verified

76 }
77
78 async extend(pluginExtend: PluginExtend) {
79 if (this._extended) return
80 this.logger.log('method extend called')
81 await this.config?.extend?.call(undefined, pluginExtend)
82 this._extended = true
83 }
84
85 setDisabled(flag = true) {
86 this._disabled = flag

Callers

nothing calls this directly

Calls 1

logMethod · 0.45

Tested by

no test coverage detected