Scheduler.addToSchedule()
Home > @backstage/plugin-search-backend-node
> Scheduler
> addToSchedule
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.
Signature:
addToSchedule(options: ScheduleTaskParameters): void;
Parameters
Parameter |
Type |
Description |
---|---|---|
options |
void