GetPendingTasks

Function: GetPendingTasks()

function GetPendingTasks(page, committee): Promise<Response<{ pageAmount: number; tasks: object[]; }>>

Defined in: src/actions/submit-task.tsx:141

Retrieves the list of pending tasks for a given page and committee.

Parameters

page

number

The page number to retrieve.

committee

The name of the committee to get pending tasks for.

null | string

Returns

Promise<Response<{ pageAmount: number; tasks: object[]; }>>
  • A promise that resolves to a response object containing the list of pending tasks and the amount of pages or an error message.