Readonly
[toReadonly
catchReadonly
finallyAttaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The resolved value cannot be modified from the callback.
Readonly
thenAttaches callbacks for the resolution and/or rejection of the Promise.
Attaches a callback for only the rejection of the Promise.