(budgetMs: number)
| 74 | |
| 75 | /** The message a parse that ran past its budget records, as the parse pool words its own timeout. */ |
| 76 | export function parseTimeoutMessage(budgetMs: number): string { |
| 77 | return `Parse timed out after ${budgetMs}ms`; |
| 78 | } |
| 79 | |
| 80 | /** What indexing stores for a file whose parse ran past its budget: no symbols, one error. */ |
| 81 | export function parseTimeoutResult(filePath: string, budgetMs: number): ExtractionResult { |
no outgoing calls
no test coverage detected