Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
40 lines
1.2 KiB
TypeScript
40 lines
1.2 KiB
TypeScript
// Module ID: 7848
|
|
// Function ID: 7849
|
|
// Name: ThreadSummaryStore
|
|
// Dependencies: [504, 573, 2]
|
|
|
|
// Module 7848 (ThreadSummaryStore)
|
|
import initializeDefault from "initialize" /* 504 */;
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
|
|
|
function handleSummarizeThreadFinish() {
|
|
c0 = false;
|
|
}
|
|
let c0 = false;
|
|
const Store = initializeDefault.Store;
|
|
class ThreadSummaryStore extends Store {
|
|
constructor() {
|
|
applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target);
|
|
applyArgumentsResult.summaryInProgress = false;
|
|
return applyArgumentsResult;
|
|
}
|
|
}
|
|
const prototype = ThreadSummaryStore.prototype;
|
|
prototype["initialize"] = function initialize() {
|
|
c0 = false;
|
|
};
|
|
prototype["isInProgress"] = function isInProgress() {
|
|
return c0;
|
|
};
|
|
ThreadSummaryStore.displayName = "ThreadSummaryStore";
|
|
const threadSummaryStore = new ThreadSummaryStore(DispatcherDefault, {
|
|
SUMMARIZE_THREAD_START: function handleSummarizeThreadStart() {
|
|
c0 = true;
|
|
},
|
|
SUMMARIZE_THREAD_SUCCESS: handleSummarizeThreadFinish,
|
|
SUMMARIZE_THREAD_FAILURE: handleSummarizeThreadFinish
|
|
});
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/threads/ThreadSummaryStore.tsx");
|
|
|
|
export default threadSummaryStore;
|