Chaining Promises

Explore in the sandboxView live

This is an example of how to chain promises using .then(). This sample and a general overview of promises are described in more detail in the Working with promises topic.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.