decord/alpha/source/Dispatcher.tsx

30 lines
1 KiB
TypeScript
Raw Normal View History

2026-10-03 08:58:59 +00:00
// Module ID: 584
// Function ID: 585
// Name: Dispatcher
2026-10-03 08:58:59 +00:00
// Dependencies: [585, 579, 510, 504, 685, 2]
2026-07-20 16:05:17 +00:00
2026-10-03 08:58:59 +00:00
// Module 584 (Dispatcher)
import get_initialized from "get initialized" /* 504 */;
import Storage2 from "Storage" /* 510 */;
2026-10-03 08:58:59 +00:00
import LoggingUtils from "LoggingUtils" /* 579 */;
import Constants from "Constants" /* 585 */;
import addSentryBreadcrumbDefault from "addSentryBreadcrumb" /* 685 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
2026-10-03 08:58:59 +00:00
const STORAGE_KEY_LOG_DISPATCHES = Constants.STORAGE_KEY_LOG_DISPATCHES;
const ActionLogger = LoggingUtils.ActionLogger;
2026-08-24 06:08:38 +00:00
const Storage = Storage2.Storage;
2026-10-03 08:58:59 +00:00
let flag = Storage.get(STORAGE_KEY_LOG_DISPATCHES);
2026-07-29 08:29:29 +00:00
if (flag == null) {
flag = false;
}
2026-10-03 08:58:59 +00:00
const obj = { persist: flag };
const actionLogger = new ActionLogger(obj);
const obj2 = { addBreadcrumb: addSentryBreadcrumbDefault };
const Dispatcher = get_initialized.Dispatcher;
const dispatcher = new Dispatcher(actionLogger, obj2);
const result = size.fileFinishedImporting("Dispatcher.tsx");
2026-07-20 16:05:17 +00:00
export default dispatcher;
2026-10-03 08:58:59 +00:00
export const DispatchBand = get_initialized.DispatchBand;