(ceProps: PropertyGetter)
| 66 | } |
| 67 | |
| 68 | static fromProps(ceProps: PropertyGetter) { |
| 69 | return new CompilationQueue( |
| 70 | ceProps('maxConcurrentCompiles', 1), |
| 71 | ceProps('compilationEnvTimeoutMs', 300_000), |
| 72 | ceProps('compilationStaleAfterMs', 60_000), |
| 73 | ); |
| 74 | } |
| 75 | |
| 76 | enqueue<Result>(job: Job<Result>, options?: EnqueueOptions): PromiseLike<Result> { |
| 77 | const enqueueAsyncId = executionAsyncId(); |
no outgoing calls
no test coverage detected