stopCoroutine method

void stopCoroutine(
  1. Coroutine coroutine
)

Stops a coroutine

Implementation

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