streamextensions.first and last now return IPromise that contains the
root value from the stream