cancel()

/**
 * This function cancels the coroutine.
 */
public function cancel() : void;

This is the function to stop a Coroutine Scope.

Last updated