MCPcopy Create free account
hub / github.com/esengine/esengine / EventBus.test.ts

File EventBus.test.ts

packages/core/tests/ECS/Core/EventBus.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { EventBus, GlobalEventBus } from '../../../src/ECS/Core/EventBus';
2import { IEventListenerConfig, IEventStats } from '../../../src/Types';
3import { ECSEventType, EventPriority } from '../../../src/ECS/CoreEvents';
4

Callers

nothing calls this directly

Calls 15

nowMethod · 0.80
clearMethod · 0.65
getStatsMethod · 0.65
resetMethod · 0.65
onMethod · 0.45
emitMethod · 0.45
onAsyncMethod · 0.45
emitAsyncMethod · 0.45
onceMethod · 0.45
offMethod · 0.45
offAllMethod · 0.45
hasListenersMethod · 0.45

Tested by

no test coverage detected