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

Function onAddReadCountTask

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

Source from the content-addressed store, hash-verified

18> | null = null
19
20const onAddReadCountTask = ({ msgId }: { msgId: number }) => {
21 queue.add(msgId)
22}
23const onRemoveReadCountTask = ({ msgId }: { msgId: number }) => {
24 queue.delete(msgId)
25}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected