Indeed, pretty much any imperative control flow construct you can think of has a very similar method-based equivalent with promises.
Indeed, pretty much any imperative control flow construct you can think of has a very similar method-based equivalent with promises.