( a: EventPriority, b: EventPriority, )
| 42 | } |
| 43 | |
| 44 | export function isHigherEventPriority( |
| 45 | a: EventPriority, |
| 46 | b: EventPriority, |
| 47 | ): boolean { |
| 48 | return a !== 0 && a < b; |
| 49 | } |
| 50 | |
| 51 | export function eventPriorityToLane(updatePriority: EventPriority): Lane { |
| 52 | return updatePriority; |
no outgoing calls
no test coverage detected