UNPKG

@golemio/pid

Version:
13 lines (12 loc) 633 B
import { RopidGTFSCisStopsModel } from "../../.."; import { AbstractEmptyTask } from "@golemio/core/dist/integration-engine"; import { GtfsStopsRedisRepository } from "./data-access/cache/GtfsStopsRedisRepository"; export declare class RefreshGtfsStopsCacheTask extends AbstractEmptyTask { private gtfsStopsRedisRepository; private gtfsStopCisModel; readonly queueName = "refreshGtfsStopsCache"; readonly queueTtl: number; private readonly gtfsStopRepository; constructor(gtfsStopsRedisRepository: GtfsStopsRedisRepository, gtfsStopCisModel: RopidGTFSCisStopsModel); protected execute(): Promise<void>; }