decord/alpha/source/modules/threads/ThreadSummaryStore.tsx

42 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 7899
// Function ID: 7900
// Name: ThreadSummaryStore
2026-10-03 08:58:59 +00:00
// Dependencies: [504, 584, 2]
2026-07-23 10:11:24 +00:00
2026-10-09 10:00:15 +00:00
// Module 7899 (ThreadSummaryStore)
2026-10-03 08:58:59 +00:00
import get_initializedDefault from "get initialized" /* 504 */;
import DispatcherDefault from "Dispatcher" /* 584 */;
import size from "module_2" /* 2 */;
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-10-03 08:58:59 +00:00
const Store = get_initializedDefault.Store;
2026-07-29 08:29:29 +00:00
class ThreadSummaryStore extends Store {
constructor() {
2026-10-03 08:58:59 +00:00
const applyArgumentsResult = HermesBuiltin.applyArguments(this, new.target);
2026-07-29 08:29:29 +00:00
applyArgumentsResult.summaryInProgress = false;
return applyArgumentsResult;
2026-07-20 16:05:17 +00:00
}
2026-10-03 08:58:59 +00:00
initialize() {
c0 = false;
}
isInProgress() {
return c0;
}
2026-07-29 08:29:29 +00:00
}
const prototype = ThreadSummaryStore.prototype;
ThreadSummaryStore.displayName = "ThreadSummaryStore";
2026-10-03 08:58:59 +00:00
const obj = {
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
2026-10-03 08:58:59 +00:00
};
const threadSummaryStore = new ThreadSummaryStore(DispatcherDefault, obj);
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;