SchedulerServiceTaskFunction
Home > @backstage/backend-plugin-api
> SchedulerServiceTaskFunction
A function that can be called as a scheduled task.
It may optionally accept an abort signal argument. When the signal triggers, processing should abort and return as quickly as possible.
Signature:
export type SchedulerServiceTaskFunction = ((abortSignal: AbortSignal) => void | Promise<void>) | (() => void | Promise<void>);