MCPcopy
hub / github.com/vuejs/devtools-v6 / on

Function on

packages/app-backend-core/src/hook.ts:102–104  ·  view source on GitHub ↗
(event, fn)

Source from the content-addressed store, hash-verified

100 },
101
102 on(event, fn) {
103 sendToParent(hook => hook.on(event, fn))
104 },
105
106 once(event, fn) {
107 sendToParent(hook => hook.once(event, fn))

Callers

nothing calls this directly

Calls 2

sendToParentFunction · 0.85
onMethod · 0.80

Tested by

no test coverage detected