Click or drag to resize

GetCancelWaitTResult Method (TaskTResult, RhinoDoc)

Awaits a particular task to finish.

Namespace:  Rhino.Input.Custom
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public Result Wait<TResult>(
	Task<TResult> task,
	RhinoDoc doc
)

Parameters

task
Type: System.Threading.TasksTaskTResult
The task.
doc
Type: RhinoRhinoDoc
A document to set progress reporting.

Type Parameters

TResult

[Missing <typeparam name="TResult"/> documentation for "M:Rhino.Input.Custom.GetCancel.Wait``1(System.Threading.Tasks.Task{``0},Rhino.RhinoDoc)"]

Return Value

Type: Result
A result enumeration.
See Also