This class defines a task with given function and parameters.
this function will be run in the web worker
returns id of the job
result of the ran function
returns timing statistics
sets timing statistics
start and end time
current status
changes this job's status
the status to change
This class defines a task with given function and parameters.