Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/markmap/markmap
/ revoke
Method
revoke
packages/markmap-common/src/hook.ts:11–14 ·
view source on GitHub ↗
(fn: HookCallback<T>)
Source
from the content-addressed store, hash-verified
9
}
10
11
revoke(fn: HookCallback<T>): void {
12
const
i = this.listeners.indexOf(fn);
13
if
(i >= 0) this.listeners.splice(i, 1);
14
}
15
16
revokeAll(): void {
17
this.listeners.splice(0);
Callers
1
tap
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected