GetPendingTasks returns all pending tasks of given type.
(ctx context.Context, taskType ...string)
| 37 | Update(ctx context.Context, task *ent.Task, args *TaskArgs) (*ent.Task, error) |
| 38 | // GetPendingTasks returns all pending tasks of given type. |
| 39 | GetPendingTasks(ctx context.Context, taskType ...string) ([]*ent.Task, error) |
| 40 | // GetTaskByID returns the task with the given ID. |
| 41 | GetTaskByID(ctx context.Context, taskID int) (*ent.Task, error) |
| 42 | // SetCompleteByID sets the task with the given ID to complete. |
no outgoing calls
no test coverage detected