The budget a just-timed-out file ran past, if it matches.
(filePath: string, source: string, language: Language)
| 225 | |
| 226 | /** The budget a just-timed-out file ran past, if it matches. */ |
| 227 | function takeTimedOut(filePath: string, source: string, language: Language): number | null { |
| 228 | return timeoutSlot && timeoutSlot.filePath === filePath && timeoutSlot.source === source && |
| 229 | timeoutSlot.language === language ? timeoutSlot.budgetMs : null; |
| 230 | } |
| 231 | |
| 232 | /** The hoisted preParse output for a just-deferred file, if it matches. */ |
| 233 | export function takeDeferredPreParse( |
no outgoing calls
no test coverage detected