Is there a way to turn a JDBC `ResultSet` into a g...
# random
t
Is there a way to turn a JDBC
ResultSet
into a generated
Sequence
, and dispose early if operators like
take()
limit the number of items needed? I can do this in in RxJava (https://github.com/thomasnield/rxkotlin-jdbc/blob/master/src/main/kotlin/org/nield/rxkotlinjdbc/JdbcExtensions.kt), but there doesn't seem to be a disposal mechanism for Sequences..,