public ReadOnlyPromise(IWaitablePromise promised) { _promised = promised; }
public static PromiseAwaiter GetAwaiter(this IWaitablePromise promise) { return(new PromiseAwaiter(promise)); }
public static PromiseAwaiter <T> GetAwaiter <T>(this IWaitablePromise <T> promise) where T : class { return(new PromiseAwaiter <T>(promise)); }
internal PromiseAwaiter(IWaitablePromise promise) { _promise = promise; }
public static IWaitablePromise GetAwaiter(this IWaitablePromise promise) { return(promise); }