Beispiel #1
0
        public static STask <T> FromResult <T>(T value)
        {
            var sAwaiter = STask <T> .Create();

            sAwaiter.SetResult(value);
            return(sAwaiter);
        }
 public static AsyncSTaskMethodBuilder Create() => new AsyncSTaskMethodBuilder(STask.Create());