decord/source/modules/threads/ThreadSummaryStore.tsx

41 lines
1.2 KiB
TypeScript
Raw Normal View History

// Module ID: 7878
// Function ID: 7879
// Name: ThreadSummaryStore
// Dependencies: [504, 573, 2]
2026-07-23 10:11:24 +00:00
// Module 7878 (ThreadSummaryStore)
import initializeDefault from "initialize" /* 504 */;
import DispatcherDefault from "Dispatcher" /* 573 */;
2026-07-20 16:05:17 +00:00
function handleSummarizeThreadFinish() {
2026-08-24 06:08:38 +00:00
c0 = false;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
let c0 = false;
2026-08-24 06:08:38 +00:00
const Store = initializeDefault.Store;
2026-07-29 08:29:29 +00:00
class ThreadSummaryStore extends Store {
constructor() {
applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target);
applyArgumentsResult.summaryInProgress = false;
return applyArgumentsResult;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
}
const prototype = ThreadSummaryStore.prototype;
prototype["initialize"] = function initialize() {
2026-08-24 06:08:38 +00:00
c0 = false;
2026-07-29 08:29:29 +00:00
};
prototype["isInProgress"] = function isInProgress() {
return c0;
};
ThreadSummaryStore.displayName = "ThreadSummaryStore";
const threadSummaryStore = new ThreadSummaryStore(DispatcherDefault, {
2026-07-20 16:05:17 +00:00
SUMMARIZE_THREAD_START: function handleSummarizeThreadStart() {
2026-08-24 06:08:38 +00:00
c0 = true;
2026-07-20 16:05:17 +00:00
},
SUMMARIZE_THREAD_SUCCESS: handleSummarizeThreadFinish,
SUMMARIZE_THREAD_FAILURE: handleSummarizeThreadFinish
});
const size = fn(2);
const result = size.fileFinishedImporting("modules/threads/ThreadSummaryStore.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default threadSummaryStore;