Skip to main content
Version: Next

Scheduler

Home > @backstage/plugin-search-backend-node > Scheduler

Scheduler responsible for all search tasks.

Signature:

class Scheduler 

Constructors

Constructor

Modifiers

Description

(constructor)(options)

Constructs a new instance of the Scheduler class

Methods

Method

Modifiers

Description

addToSchedule(options)

Adds each task and interval to the schedule. When running the tasks, the scheduler waits at least for the time specified in the interval once the task was completed, before running it again.

start()

Starts the scheduling process for each task

stop()

Stop all scheduled tasks.