Réponse

handler

Explication

The first handler, sometimes called onFulfilled, is a success handler, and it should contain the logic for the promise resolving.
The second handler, sometimes called onRejected, is a failure handler, and it should contain the logic for the promise rejecting.

Question

A quel terme on se réfère en anglais pour une fonction de callback passée en argument de .then ?

Thématique