Emit events out of the promise.