UxrAsyncInitSingleton<T>.InitAsync Method

Initializes the singleton asynchronously.

Namespace: UltimateXR.Core.Components.Singleton
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

protected abstract Task InitAsync(
	CancellationToken ct = default
)


Parameters

 

ct (Optional)
Type: System.Threading.CancellationToken
Allows to cancel the asynchronous process if necessary

Return Value

Type: Task
Task representing the initialization

See Also

Reference

UxrAsyncInitSingleton<T> Class
UltimateXR.Core.Components.Singleton Namespace