This defines the handler function for when a promise is resolved.
This is the value passed as part of resolving the Promise
This may return a value, another Promise or void.
IPromise.then for how the value is handled.
This defines the handler function for when a promise is resolved.