Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ThatOpen/engine_clay
/ reset
Method
reset
packages/clay/src/utils/event.ts:36–38 ·
view source on GitHub ↗
Gets rid of all the suscribed events.
()
Source
from the content-addressed store, hash-verified
34
35
/** Gets rid of all the suscribed events. */
36
reset() {
37
this.handlers.length = 0;
38
}
39
40
private handlers: (T extends void ? { (): void } : { (data: T): void })[] =
41
[];
Callers
2
clear
Method · 0.45
clear
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected