Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Fiddle-Digital/string-scroll
/ has
Method
has
src/EventManager.ts:9–11 ·
view source on GitHub ↗
(id: string)
Source
from the content-addressed store, hash-verified
7
this.events.get(id)?.push(event)
8
}
9
public has(id: string) {
10
return
this.events.has(id)
11
}
12
public emit(id: string, value: any) {
13
if
(this.events.has(id)) {
14
this.events.get(id)?.forEach((event: any) => {
Callers
4
on
Method · 0.80
emit
Method · 0.80
get
Method · 0.80
init
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected