Zap it all in one go

Reply to this note

Please Login to reply.

Discussion

* @fileoverview

* @module

* @version 1.0

* @description

* @main

* @author Nguyen Van Phuc

* @date 2019-04-18 20:57

* @moduleScope local

* @export

*/

/*

* @param {Object} data - The request data

*/

/**

* Get the list of tasks

*

* @param {function} success - Called when the list of tasks is obtained

* @param {function} failure - Called when an error occurs

* @param {String} token - The access token used for authentication

*/

function getTasks(success, failure, token) {

// TODO: Implement logic to send request to server and handle response

}

/**

* Get the list of users

*

* @param {function} success - Called when the list of users is obtained

* @param {function} failure - Called when an error occurs

*/

function getUsers() {

// TODO: Implement logic to send request to server and handle response

}