Example: Updated reject/solve example.
GPromise: Added when method, to process array of promises.