expireOverdueTasks

suspend fun expireOverdueTasks(): List<Task>

Fetches and returns tasks whose Task.status is either "requested", "ready", "accepted", "in-progress" and "received" and Task.restriction.period.end is <= today. It uses the maximum . The size of the tasks is between 0 to (tasksCount * 2).