Table of Contents

Method DrainCoroutine

Namespace
Pinwheel.Vista
Assembly
Pinwheel.Vista.Runtime.dll

DrainCoroutine(IEnumerator)

Synchronously runs an IEnumerator coroutine to completion on the calling thread. Nested coroutines produced by yield return someIEnumerator are drained recursively.

public static void DrainCoroutine(IEnumerator coroutine)

Parameters

coroutine IEnumerator

The coroutine to drain.