MCPcopy Create free account
hub / github.com/massCodeIO/massCode / addToUpdateQueue

Function addToUpdateQueue

src/renderer/composables/useSnippetUpdate.ts:83–88  ·  view source on GitHub ↗
(snippetId: number, data: SnippetsUpdate)

Source from the content-addressed store, hash-verified

81}
82
83function addToUpdateQueue(snippetId: number, data: SnippetsUpdate) {
84 markUserEdit()
85 const key = `${snippetId}`
86 updateQueue.value.set(key, { snippetId, data })
87 updateDebounced(snippetId)
88}
89
90function addToUpdateContentQueue(
91 snippetId: number,

Callers

nothing calls this directly

Calls 2

markUserEditFunction · 0.90
setMethod · 0.45

Tested by

no test coverage detected