<PackageReference Include="System.Reactive" Version="7.0.0-preview.1" />

System.Runtime.CompilerServices.TaskObservableMethodBuilder<T>

public struct TaskObservableMethodBuilder<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; } }