The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/packages/apps-engine/tests/test-data/bridges/schedulerBridge.ts

24 lines
879 B

import type { IOnetimeSchedule, IProcessor, IRecurringSchedule } from '../../../src/definition/scheduler';
import { SchedulerBridge } from '../../../src/server/bridges';
export class TestSchedulerBridge extends SchedulerBridge {
public async registerProcessors(processors: Array<IProcessor>, appId: string): Promise<void> {
throw new Error('Method not implemented.');
}
public async scheduleOnce(job: IOnetimeSchedule, appId: string): Promise<void> {
throw new Error('Method not implemented.');
}
public async scheduleRecurring(job: IRecurringSchedule, appId: string): Promise<void> {
throw new Error('Method not implemented.');
}
public async cancelJob(jobId: string, appId: string): Promise<void> {
throw new Error('Method not implemented.');
}
public async cancelAllJobs(appId: string): Promise<void> {
throw new Error('Method not implemented.');
}
}