The Promise class.
Rejects a promise.
Resolves a promise.
Adds a success and failure handler for completion of this Promise object.
The success handler
The failure handler
this
The Promise class.