MCPcopy
hub / github.com/ZToolsCenter/ZTools / dispatchPluginEnter

Function dispatchPluginEnter

resources/preload.js:206–213  ·  view source on GitHub ↗

* 统一派发插件进入事件(已注册回调时调用)

(launchParam)

Source from the content-addressed store, hash-verified

204 * 统一派发插件进入事件(已注册回调时调用)
205 */
206function dispatchPluginEnter(launchParam) {
207 if (!enterCallback) return
208 console.log('[PluginRuntime][Enter] dispatch-now', {
209 assemblyId: launchParam?.__assemblyId,
210 ts: launchParam?.__ts
211 })
212 enterCallback(launchParam)
213}
214
215/**
216 * 回放缓存的进入事件(仅保留最新一条)

Callers 2

preload.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected