Members
handleCallersEnd
The caller should be able to call callerStream.end() to stop receiving more rows and cancel the stream prematurely. However this has a side effect the 'end' event will be emitted. We don't want that, because it also gets emitted if the stream ended normally. To tell these two situations apart, we'll overwrite the end function, but save the "original" end() function which will be called on valuesStream.on('end').
handleStreamData
This method is called when the valuesStream emits data. The valuesStream yelds data only after the resume token is recieved, hence the state change.