using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace OwlCore.WinUI.Threading
{
///
/// When used as a return type, the continuation happens on the UI thread.
///
[AsyncMethodBuilder(typeof(UiTaskMethodBuilder))]
public class UiTask
{
internal TaskCompletionSource