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

Function getContentUpdateKey

src/renderer/composables/useSnippetUpdate.ts:41–43  ·  view source on GitHub ↗
(snippetId: number, contentId: number)

Source from the content-addressed store, hash-verified

39}, UPDATE_DEBOUNCE_TIME)
40
41function getContentUpdateKey(snippetId: number, contentId: number) {
42 return `${snippetId}-${contentId}`
43}
44
45async function flushContentUpdate(key: string) {
46 const update = updateContentQueue.value.get(key)

Callers 3

addToUpdateContentQueueFunction · 0.85
getPendingContentUpdateFunction · 0.85
isContentUpdateBusyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected