Implement cancelTask in MockSchedulerService with proper error types

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
This commit is contained in:
Fredrik Adelöw
2026-03-09 22:37:08 +01:00
parent 164711a61f
commit 3e4b372955
2 changed files with 12 additions and 3 deletions
@@ -643,6 +643,7 @@ export interface RootServiceFactoryOptions<
// @public
export interface SchedulerService {
cancelTask(id: string): Promise<void>;
createScheduledTaskRunner(
schedule: SchedulerServiceTaskScheduleDefinition,
): SchedulerServiceTaskRunner;