Log in
Log in with USB
Inloggen met vingerafdruk wordt binnenkort mogelijk.
Last change: July 6, 2020
Current version: 1.2.0
Requires at least webanizr 1.16.0 for correct error handling.
The taskModelAPI module is used for executing tasks, queueing tasks, chunking, pausing and resuming tasks.
The state of the task execution is shared in webanizr variables:
All tasks to execute are queued and executed in order. Upfollowing chunks of a chunked task will not get any priority in case in the mean time other tasks were queued. This will keep the system responsive to work with in case of time consuming tasks like exports or imports.
webanizr.send('taskModelAPI', data, parameters, callack, error);
The data used as parameters for this particular task.
The taskModelAPI module accepts the following parameters:
The type of action to execute. Defaults to "execute", but can be one of the following:
The url to send the request to. If not given, the request will go to the task service url of the current domain.
The callback to call after execution of the task
The callback to call if the task failed to execute.