MCPcopy Create free account
hub / github.com/esengine/esengine / handler

Function handler

packages/core/tests/ECS/Core/EventSystem.test.ts:65–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 let callCount = 0;
64
65 const handler = () => {
66 callCount++;
67 };
68
69 const listenerId = eventSystem.on('removable:event', handler);
70 eventSystem.emit('removable:event', {});

Callers 15

updateMethod · 0.85
stopMethod · 0.85
checkAllCompleteMethod · 0.85
handleItemClickMethod · 0.85
subscribeMethod · 0.85
wrappedHandlerMethod · 0.85
emitMethod · 0.85
nativeHandlerMethod · 0.85
processMethod · 0.85
onMessageMethod · 0.85
onErrorMethod · 0.85
onTouchStartMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected