UxrCancellableController.StartInternal Method

Implements the internal logic between with Start() and Stop().

Namespace: UltimateXR.Core.Threading.TaskControllers
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

protected abstract void StartInternal(
	CancellationToken ct,
	Action onCompleted
)


Parameters

 

ct
Type: System.Threading.CancellationToken
Flags, with IsCancellationRequested, when Stop() has been requested.
onCompleted
Type: System.Action
Optional callback when the logic has completed, so that the base class can free resources.

Remarks

In case the implementation can finish on its own, please invoke onCompleted instead of Stop().

See Also

Reference

UxrCancellableController Class
UltimateXR.Core.Threading.TaskControllers Namespace
UltimateXR.Core.Threading.TaskControllers.UxrCancellableController