AsyncUniTaskMethodBuilder<T> Struct
Assembly: cs.temp.dll.dll
public struct AsyncUniTaskMethodBuilder<T>
Members
Properties
Methods
Properties
Task
public readonly UniTask<T> Task { get; }
Methods
AwaitOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter, ref TStateMachine)
public void AwaitOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine)
where TAwaiter : INotifyCompletion where TStateMachine : IAsyncStateMachine
Parameters
awaiter
TAwaiter
stateMachine
TStateMachine
Type Parameters
TAwaiter
TStateMachine
AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter, ref TStateMachine)
public void AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine)
where TAwaiter : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine
Parameters
awaiter
TAwaiter
stateMachine
TStateMachine
Type Parameters
TAwaiter
TStateMachine
Create()
public static AsyncUniTaskMethodBuilder<T> Create()
SetException(Exception)
public void SetException(Exception exception)
Parameters
exception
Exception
SetResult(T)
public void SetResult(T result)
SetStateMachine(IAsyncStateMachine)
public void SetStateMachine(IAsyncStateMachine stateMachine)
Parameters
stateMachine
IAsyncStateMachine
Start<TStateMachine>(ref TStateMachine)
public void Start<TStateMachine>(ref TStateMachine stateMachine)
where TStateMachine : IAsyncStateMachine
Parameters
stateMachine
TStateMachine
Type Parameters
TStateMachine