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

Method initializeWorker

packages/alphatab/src/Environment.ts:666–675  ·  view source on GitHub ↗

* @target web

()

Source from the content-addressed store, hash-verified

664 * @target web
665 */
666 public static initializeWorker() {
667 if (!Environment.isRunningInWorker) {
668 throw new AlphaTabError(
669 AlphaTabErrorType.General,
670 'Not running in worker, cannot run worker initialization'
671 );
672 }
673 AlphaTabWebWorker.init();
674 AlphaSynthWebWorker.init();
675 }
676
677 /**
678 * @target web

Callers 2

alphaTab.worker.tsFile · 0.80
alphaTab.main.tsFile · 0.80

Calls 1

initMethod · 0.45

Tested by

no test coverage detected