(getValue, eventName, length)
| 8 | } |
| 9 | |
| 10 | export const emitManyValues = async (getValue, eventName, length) => { |
| 11 | await Promise.all( |
| 12 | Array.from({ length }, () => emitValue(getValue(), eventName)), |
| 13 | ) |
| 14 | } |
| 15 | |
| 16 | export const emit = async (eventName) => { |
| 17 | await emitValue(getError(), eventName) |
no test coverage detected
searching dependent graphs…