.then()

A Promise method that schedules work for successful completion.

What does .then() do in JavaScript?

.then() — A Promise method that schedules work for successful completion.

orderReady.then(status => {
    updateStatus(status);
});

Level: Journeyman · More JavaScript terms at this level

Updated