← Back To API Reference

.then

.then(
    [function(any value) fulfilledHandler],
    [function(any error) rejectedHandler]
) -> Promise

Promises/A+ .then. If you are new to promises, see the Beginner's Guide.