0
is the main worker and the others are secondary workers. The main worker is the one that will be called when the task is launched.
Each worker has a JSON state, that can be used to store anything you need to keep track of the task progress.
When a task is launched, your app webhook_endpoint
will be called with the following payload: