Example #1
0
 public ReadOnlyPromise(IWaitablePromise promised)
 {
     _promised = promised;
 }
Example #2
0
 public static PromiseAwaiter GetAwaiter(this IWaitablePromise promise)
 {
     return(new PromiseAwaiter(promise));
 }
Example #3
0
 public static PromiseAwaiter <T> GetAwaiter <T>(this IWaitablePromise <T> promise)
     where T : class
 {
     return(new PromiseAwaiter <T>(promise));
 }
Example #4
0
 internal PromiseAwaiter(IWaitablePromise promise)
 {
     _promise = promise;
 }
Example #5
0
 public static IWaitablePromise GetAwaiter(this IWaitablePromise promise)
 {
     return(promise);
 }