are there any kotlin extensions for spring data JPA's streaming API that make it use kotlin collection types, or should i just stick with java.util.Stream in kotlin?
projectmoon
06/06/2019, 10:58 AM
looks like the
asSequence()
extension method should be sufficient, since it wraps Stream#iterator(), which itself wraps the lazy iteration of the stream