add a getTasks method to get multiple tasks through 1 DB query
Signed-off-by: Kashish Mittal <kmittal@redhat.com>
This commit is contained in:
@@ -204,6 +204,8 @@ export interface TaskBroker {
|
||||
|
||||
get(taskId: string): Promise<SerializedTask>;
|
||||
|
||||
getTasks(taskIds: string[]): Promise<SerializedTask[]>;
|
||||
|
||||
list?(options?: {
|
||||
filters?: {
|
||||
createdBy?: string | string[];
|
||||
|
||||
Reference in New Issue
Block a user