Synced
CoroutineScheduler.StopAllCoroutines
Section titled “CoroutineScheduler.StopAllCoroutines”
- Stops owned coroutines and disposes their nested enumerators in reverse order. Reentrant calls defer cleanup of an executing callback until that callback returns.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Coroutines
Declaration
Section titled “Declaration”public void Inno.Core.Coroutines.CoroutineScheduler.StopAllCoroutines(object owner)Parameters
Section titled “Parameters”Parameter owner: Owner key used when starting coroutines.
Exceptions
Section titled “Exceptions”Exception T:System.AggregateException: One or more eligible enumerators failed during cleanup.
Exception T:System.ObjectDisposedException: The scheduler has been disposed.