stopCoroutine method

void stopCoroutine(
  1. CoroutineAsync coroutine
)

Stops a coroutine

Implementation

void stopCoroutine(CoroutineAsync coroutine) {
  final int id = coroutine.hashCode;
  _runningCoroutines.remove(id);
}