public IPromise ThenAll(Func <T, IEnumerable <IPromise> > chain) { return(Then(_ => Promise.All(chain(resolveValue)), null)); }
public IPromise ThenAll(Func <IEnumerable <IPromise> > chain) { return(Then(() => Promise.All(chain()), null)); }