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