decord/source/modules/threads/ThreadSummaryStore.tsx

40 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-09-01 10:26:29 +00:00
// Module ID: 7520
// Function ID: 7521
2026-07-29 08:29:29 +00:00
// Name: handleSummarizeThreadFinish
// Dependencies: [589, 709, 2]
2026-07-23 10:11:24 +00:00
2026-09-01 10:26:29 +00:00
// Module 7520 (handleSummarizeThreadFinish)
2026-08-24 06:08:38 +00:00
import initializeDefault from "initialize" /* 589 */;
import dispatcherDefault from "dispatcher" /* 709 */;
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";
2026-08-24 06:08:38 +00:00
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
});
2026-07-29 08:29:29 +00:00
const result = require("set").fileFinishedImporting("modules/threads/ThreadSummaryStore.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default threadSummaryStore;