"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "PrinterFilesLoadTask", {
    enumerable: true,
    get: function() {
        return PrinterFilesLoadTask;
    }
});
class PrinterFilesLoadTask {
    printerFilesStore;
    logger;
    constructor(loggerFactory, printerFilesStore){
        this.printerFilesStore = printerFilesStore;
        this.logger = loggerFactory(PrinterFilesLoadTask.name);
    }
    async run() {
        this.logger.log("Loading files store in background");
        try {
            await this.printerFilesStore.loadFilesStore();
            this.logger.log("Files store loaded successfully in background");
        } catch (error) {
            this.logger.error("Failed to load files store in background", error);
        }
    }
}

//# sourceMappingURL=printer-files-load.task.js.map