Open db48x opened 2 years ago
How would you deal with failures with such an api? Do you want to have the Stream<Result<ObjectList>>
swapped for a Result<Stream<ObjectList>>
?
Maybe we can add an example of how to go from one to the other to the documentation?
It returns a
Stream
ofResult<ObjectList>
, which on one level is fine because it is exactly what Google makes available. At least for my use–case it would simplify things if there were a method that returned aStream
ofObject
instead.