CielaSpike.Task.Cancel C# (CSharp) Method

Cancel() public method

Cancel the task till next iteration;
public Cancel ( ) : void
return void
        public void Cancel()
        {
            if (State == TaskState.Running)
            {
                GotoState(RunningState.CancellationRequested);
            }
        }