Table of Contents

Class GenerationTask

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

Yieldable handle representing one Vista Manager generation request.

public sealed class GenerationTask : CustomYieldInstruction, IEnumerator
Inheritance
CustomYieldInstruction
GenerationTask
Implements
Inherited Members
CustomYieldInstruction.MoveNext()
CustomYieldInstruction.Reset()
CustomYieldInstruction.Current

Remarks

A task identifies the exact request returned by Generate(IEnumerable<ITile>). Yielding it waits for that request to reach either successful completion or completed cancellation cleanup; it does not wait for later requests. Task state is controlled by the Manager coordinator and cannot be changed by callers.

Properties

completedTask

Gets an immutable, already-completed task for operations that have nothing to wait for.

isCancelled

Gets whether this request reached the cancelled terminal state.

isCompleted

Gets whether this request reached either terminal state.

keepWaiting

Returns true until this request reaches a terminal state.

status

Gets the current lifecycle state of this request.