()
| 1 | function getExecutor(): Executor { |
| 2 | const executor = (globalThis as unknown as { Executor?: Executor }).Executor; |
| 3 | if (!executor) { |
| 4 | throw new Error("Executor plugin is not available"); |
| 5 | } |
| 6 | return executor; |
| 7 | } |
| 8 | |
| 9 | function getBackgroundExecutor(): Executor { |
| 10 | const executor = getExecutor(); |
no outgoing calls
no test coverage detected