()
| 1038 | let ended = false; |
| 1039 | |
| 1040 | const push = () => { |
| 1041 | if (ended) return; |
| 1042 | if (resolveNext) { |
| 1043 | const resolve = resolveNext; |
| 1044 | resolveNext = null; |
| 1045 | resolve(); |
| 1046 | } else { |
| 1047 | pendingNotification = true; |
| 1048 | } |
| 1049 | }; |
| 1050 | |
| 1051 | const unsubscribe = context.config.onConfigChanged(push); |
| 1052 |
no test coverage detected