The budget a just-timed-out file ran past, if it matches.
(filePath: string, source: string, language: Language)
| 211 | |
| 212 | /** The budget a just-timed-out file ran past, if it matches. */ |
| 213 | function takeTimedOut(filePath: string, source: string, language: Language): number | null { |
| 214 | return timeoutSlot && timeoutSlot.filePath === filePath && timeoutSlot.source === source && |
| 215 | timeoutSlot.language === language ? timeoutSlot.budgetMs : null; |
| 216 | } |
| 217 | |
| 218 | /** The hoisted preParse output for a just-deferred file, if it matches. */ |
| 219 | export function takeDeferredPreParse( |
no outgoing calls
no test coverage detected