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