* @target web
()
| 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 |
no test coverage detected