* Registers cleanup functions for a defer block when the block has finished * fetching and rendering
(lDetails: LDeferBlockDetails, callback: VoidFunction)
| 597 | * fetching and rendering |
| 598 | */ |
| 599 | function onDeferBlockCompletion(lDetails: LDeferBlockDetails, callback: VoidFunction) { |
| 600 | if (!Array.isArray(lDetails[ON_COMPLETE_FNS])) { |
| 601 | lDetails[ON_COMPLETE_FNS] = []; |
| 602 | } |
| 603 | lDetails[ON_COMPLETE_FNS].push(callback); |
| 604 | } |
| 605 | |
| 606 | /** |
| 607 | * Determines whether specific trigger types should be attached during an instruction firing |
no test coverage detected