AutoResetUniTaskCompletionSource Class
Assembly: cs.temp.dll.dll
public class AutoResetUniTaskCompletionSource : IUniTaskSource, ITaskPoolNode<AutoResetUniTaskCompletionSource>, IPromise, IResolvePromise, IRejectPromise, ICancelPromise
Inheritance
System.Object →
AutoResetUniTaskCompletionSource
Members
Properties
Methods
Properties
NextNode
public ref AutoResetUniTaskCompletionSource NextNode { get; }
Task
public UniTask Task { get; }
Methods
Create()
public static AutoResetUniTaskCompletionSource Create()
CreateCompleted(out Int16)
public static AutoResetUniTaskCompletionSource CreateCompleted(out short token)
Parameters
token
System.Int16
CreateFromCanceled(CancellationToken, out Int16)
public static AutoResetUniTaskCompletionSource CreateFromCanceled(CancellationToken cancellationToken, out short token)
Parameters
cancellationToken
System.Threading.CancellationToken
token
System.Int16
CreateFromException(Exception, out Int16)
public static AutoResetUniTaskCompletionSource CreateFromException(Exception exception, out short token)
Parameters
exception
Exception
token
System.Int16
GetResult(Int16)
public void GetResult(short token)
Parameters
token
System.Int16
GetStatus(Int16)
public UniTaskStatus GetStatus(short token)
Parameters
token
System.Int16
OnCompleted(Action<Object>, Object, Int16)
public void OnCompleted(Action<object> continuation, object state, short token)
Parameters
continuation
Action<System.Object>
state
System.Object
token
System.Int16
TrySetCanceled(CancellationToken)
public bool TrySetCanceled(CancellationToken cancellationToken = default(CancellationToken))
Parameters
cancellationToken
System.Threading.CancellationToken
TrySetException(Exception)
public bool TrySetException(Exception exception)
Parameters
exception
Exception
TrySetResult()
public bool TrySetResult()
UnsafeGetStatus()
public UniTaskStatus UnsafeGetStatus()
Implements