Resolve all promises in a structure