Skip to content

Commit

Permalink
JSDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliidm committed Jun 6, 2022
1 parent 0b44ef1 commit cb5411a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x-pack/plugins/task_manager/server/task_scheduling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export interface BulkUpdateSchedulesResult {
tasks: ConcreteTaskInstance[];

/**
* list of failed tasks and error caused failure
* list of failed tasks and errors caused failure
*/
errors: Array<{ task: ConcreteTaskInstance; error: Error }>;
}
Expand Down Expand Up @@ -131,9 +131,9 @@ export class TaskScheduling {
/**
* Bulk updates schedules for tasks by ids.
*
* @param taskIds string[] - list of task ids
* @param schedule IntervalSchedule - new schedule
* @returns {Promise<ConcreteTaskInstance[]>}
* @param {string[]} taskIds - list of task ids
* @param {IntervalSchedule} schedule - new schedule
* @returns {Promise<BulkUpdateSchedulesResult>}
*/
public async bulkUpdateSchedules(
taskIds: string[],
Expand Down

0 comments on commit cb5411a

Please sign in to comment.