()
| 88 | let globalScheduler: Scheduler | null = null; |
| 89 | |
| 90 | export const getScheduler = (): Scheduler => { |
| 91 | if (typeof window === 'undefined') { |
| 92 | return new Scheduler(); |
| 93 | } |
| 94 | if (!globalScheduler) { |
| 95 | globalScheduler = new Scheduler(); |
| 96 | } |
| 97 | return globalScheduler; |
| 98 | }; |
no outgoing calls
no test coverage detected
searching dependent graphs…