Coroutine
csharp
public sealed class Coroutine : IThreadPoolWorkItem, ITimerTarget, ITaskCompletionActionNamespace Flux.
A running coroutine (an IEnumerator driven by the frames of the instance).
Properties
IsRunning
csharp
public bool IsRunning { get; }False once the coroutine ended, failed or was stopped.
Methods
Start
csharp
public static Coroutine Start(IEnumerator routine)Starts the coroutine: it runs at once up to its first yield return.
Stop
csharp
public void Stop()Stops the coroutine: its iterators are disposed (finally blocks), innermost first.
