runCoroutine<T> method

Future<T?> runCoroutine<T>(
  1. CoroutineAsync<T> coroutine
)

Starts or continues a coroutine It starts or continues its execution depending on its current state If the coroutine is paused, it resumes execution from the last yield point

Implementation

Future<T?> runCoroutine<T>(CoroutineAsync<T> coroutine) {
  return _stepCoroutine(coroutine.hashCode, _getOrAddCoroutine(coroutine));
}