Start End Task
Create a new StartEndTask with no timeout.
Parameters
on Start
the callback to run when the task starts
on End
the callback to run when the task finishes
Create a new StartEndTask with a timeout.
Parameters
timeout Seconds
the timeout for the task
on Start
the callback to run when the task starts
on Finish
the callback to run when the task finishes