Table of Contents

Class ExecutionHandle

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

Represents one asynchronous graph execution run.

public class ExecutionHandle : ProgressiveTask, IEnumerator, IDisposable
Inheritance
CustomYieldInstruction
ExecutionHandle
Implements
Inherited Members
CustomYieldInstruction.MoveNext()
CustomYieldInstruction.Reset()
CustomYieldInstruction.Current

Remarks

This handle is returned by TerrainGraph.Execute(string[], TerrainGenerationConfigs, GraphInputContainer, FillArgumentsHandler). Callers can yield on it as a ProgressiveTask, inspect execution progress while it runs, extract outputs from data after completion, and then dispose it to stop any remaining coroutines and release still-owned transient resources.

Properties

data

Transient resource pool owned by this execution.

progress

Progress state shared by the currently running graph execution.

Methods

Create()

Creates a new execution handle with its own progress tracker, coroutine list, and data pool.

Dispose()

Stops any tracked execution coroutines and releases resources still owned by this handle.