Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Persistence

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

CrawlerDirPath

CrawlerDirPath: string = path.join(process.cwd(), ".crawler")

TaskFilePath

TaskFilePath: string = path.join(this.CrawlerDirPath, "task.json")

Methods

load

  • load(): boolean

sync

  • sync(runningTasks: Task[], pendingTasks: Task[]): void