MCPcopy Create free account
hub / github.com/Evansy/MallChatWeb / onRemoveReadCountTask

Function onRemoveReadCountTask

src/utils/readCountQueue.ts:23–25  ·  view source on GitHub ↗
({ msgId }: { msgId: number })

Source from the content-addressed store, hash-verified

21 queue.add(msgId)
22}
23const onRemoveReadCountTask = ({ msgId }: { msgId: number }) => {
24 queue.delete(msgId)
25}
26const task = () => {
27 // 10s 了上个请求还未完成就中断掉
28 request?.abort()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected