(paths: EventCallback[], se: SyntheticEvent)
| 84 | } |
| 85 | |
| 86 | function triggerEventFlow(paths: EventCallback[], se: SyntheticEvent) { |
| 87 | for (let i = 0; i < paths.length; i++) { |
| 88 | const callback = paths[i]; |
| 89 | unstable_runWithPriority(eventTypeToSchdulerPriority(se.type), () => { |
| 90 | callback.call(null, se); |
| 91 | }); |
| 92 | |
| 93 | if (se.__stopPropagation) { |
| 94 | break; |
| 95 | } |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | function getEventCallbackNameFromEventType( |
| 100 | eventType: string |
no test coverage detected