()
| 35 | |
| 36 | const pending = pendingRef.current; |
| 37 | const flush = () => { |
| 38 | clearTimeout(pending.timer); |
| 39 | pending.timer = undefined; |
| 40 | markedKeyRef.current = readKey; |
| 41 | markDmConversationRead(queryClient, user, peerId).catch(() => undefined); |
| 42 | }; |
| 43 | const schedule = () => { |
| 44 | clearTimeout(pending.timer); |
| 45 | pending.timer = |
nothing calls this directly
no test coverage detected