"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GtfsRealTimeWorker = void 0;
const Di_1 = require("../../ioc/Di");
const VPContainerToken_1 = require("../../ioc/VPContainerToken");
const vehicle_positions_1 = require("../../../../schema-definitions/vehicle-positions");
const workers_1 = require("@golemio/core/dist/integration-engine/workers");
class GtfsRealTimeWorker extends workers_1.AbstractWorker {
    constructor() {
        super();
        this.name = vehicle_positions_1.VehiclePositions.name + "GtfsRt";
        // Register tasks
        const task = Di_1.VPContainer.resolve(VPContainerToken_1.VPContainerToken.GenerateFilesTask);
        task.queuePrefix = this.getQueuePrefix();
        this.registerTask(task);
    }
}
exports.GtfsRealTimeWorker = GtfsRealTimeWorker;
//# sourceMappingURL=GtfsRealTimeWorker.js.map