public static STask <T> FromResult <T>(T value) { var sAwaiter = STask <T> .Create(); sAwaiter.SetResult(value); return(sAwaiter); }
private AsyncSTaskMethodBuilder(STask sTask) { _sTask = sTask; }
public static AsyncSTaskMethodBuilder Create() => new AsyncSTaskMethodBuilder(STask.Create());