A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cysharp.github.io/UniTask/api/Cysharp.Threading.Tasks.UniTask-1.html below:

UniTask<T> Struct Namespace: Cysharp.Threading.Tasks Assembly: cs.temp.dll.dll

Lightweight unity specified task-like object.

public readonly struct UniTask<T>
Type Parameters
T
Members Constructors Properties Methods Operators Constructors UniTask(T) Parameters
result T
UniTask(IUniTaskSource<T>, Int16)
public UniTask(IUniTaskSource<T> source, short token)
Parameters
source IUniTaskSource<T>
token System.Int16
Properties Status
public readonly UniTaskStatus Status { get; }
Property Value
UniTaskStatus
Methods AsUniTask()
public readonly UniTask AsUniTask()
Returns
UniTask
GetAwaiter()
public readonly UniTask<T>.Awaiter GetAwaiter()
Returns
UniTask.Awaiter<>
Preserve()

Memoizing inner IValueTaskSource. The result UniTask can await multiple.

public readonly UniTask<T> Preserve()
Returns
UniTask<T>
SuppressCancellationThrow()

returns (bool IsCanceled, T Result) instead of throws OperationCanceledException.

public readonly UniTask<(bool IsCanceled, T Result)> SuppressCancellationThrow()
Returns
UniTask<System.ValueTuple<System.Boolean, T>>
ToString()
public override readonly string ToString()
Returns
System.String
Overrides

System.ValueType.ToString()

Operators Implicit(UniTask<T> to UniTask)
public static implicit operator UniTask(UniTask<T> self)
Parameters
self UniTask<T>
Returns
UniTask

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4