MCPcopy
hub / github.com/Bistutu/FluentRead / clearTranslationQueue

Function clearTranslationQueue

entrypoints/utils/translateQueue.ts:77–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 * 当页面切换或用户手动停止翻译时调用
76 */
77export function clearTranslationQueue() {
78
79 pendingTranslations = [];
80 // 不重置activeTranslations,让活跃的翻译任务自然完成
81}
82
83/**
84 * 获取队列状态

Callers 1

cancelAllTranslationsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected