TaskExt.WaitUntilCancelled Method

Provides a one-liner method to await until a task is cancelled.

Namespace: UltimateXR.Extensions.System.Threading
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static Task WaitUntilCancelled(
	CancellationToken ct
)


Parameters

 

ct
Type: System.Threading.CancellationToken
Cancellation token

Return Value

Type: Task
Awaitable Task

See Also

Reference

TaskExt Class
UltimateXR.Extensions.System.Threading Namespace