Implementation for when a promise is given a promise
Implementation for when a promise is given a promise

When a promise is given a promise as a result, the result promise must be resolved before the containing promise can be resolved with the result.  This creates a fullfilled and rejected method pair on the result promise that will resolve or reject the containing promise.

rerobins/rhobot_framework