MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / on

Method on

packages/alphatab/src/EventEmitter.ts:13–13  ·  view source on GitHub ↗

* Registers to the event with the given handler * @param value The function to call when the event occurs. * @returns A function which can be called to unregister the registered handler. * This is usedful if the original function passed to this is not stored somewhere but * unreg

(value: () => void)

Source from the content-addressed store, hash-verified

11 * unregistering of the event needs to be done.
12 */
13 on(value: () => void): () => void;
14 /**
15 * Unregisters the given handler from this event.
16 * @param value The value originally passed into {@link on}, NOT the function returned by it.

Callers 15

setupDiagnosticsFunction · 0.65
initializeMethod · 0.65
createWorkerPlayerMethod · 0.65
initialRenderMethod · 0.65
gradlew.mjsFile · 0.65
readBodyFunction · 0.65
constructorMethod · 0.65
constructorMethod · 0.65
constructorMethod · 0.65
constructorMethod · 0.65
constructorMethod · 0.65
constructorMethod · 0.65

Implementers 3

EventEmitterpackages/alphatab/src/EventEmitter.ts
AndroidUiFacadepackages/kotlin/src/android/src/main/j
EventEmitterOfTpackages/alphatab/src/EventEmitter.ts

Calls

no outgoing calls

Tested by 1

testPlaythroughFunction · 0.52