System.Runtime.CompilerServices.TaskObservableMethodBuilder<T>
Represents a builder for asynchronous methods that return a task-like ITaskObservable<T>.
namespace System.Runtime.CompilerServices
{
public struct TaskObservableMethodBuilder<[System.Runtime.CompilerServices.Nullable(2)] T>
{
public ITaskObservable<T> Task { get; }
public static TaskObservableMethodBuilder<T> Create();
public void Start<[System.Runtime.CompilerServices.Nullable(0)] TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : IAsyncStateMachine;
public void SetStateMachine(IAsyncStateMachine stateMachine);
public void SetResult(T result);
public void SetException(Exception exception);
public void AwaitOnCompleted<[System.Runtime.CompilerServices.Nullable(0)] TAwaiter, [System.Runtime.CompilerServices.Nullable(0)] TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : INotifyCompletion where TStateMachine : IAsyncStateMachine;
public void AwaitUnsafeOnCompleted<[System.Runtime.CompilerServices.Nullable(0)] TAwaiter, [System.Runtime.CompilerServices.Nullable(0)] TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine;
}
}