canStart
Implement/override this method to check custom conditions upon which the Task can begin ticking.
Lock-related mechanisms are handled separately, and this function may not be called every tick if other pre-requisites are not met.
Cancellation in this stage does not invoke onFinish. If the task is cancelled before having started, it is moved directly to the Cancelled state.
Return
true
if the custom start conditions are met, and false
otherwise. Must return true
for the task to start.