@rocket.chat/apps-engine
Version:
The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.
11 lines (10 loc) • 398 B
TypeScript
import type { IProcessor } from '../scheduler';
export interface ISchedulerExtend {
/**
* Register processors that can be scheduled to run
*
* @param {Array<IProcessor>} processors An array of processors
* @returns List of task ids run at startup, or void no startup run is set
*/
registerProcessors(processors: Array<IProcessor>): Promise<void | Array<string>>;
}