Conceptually, what is the best way to turn a resou...
# announcements
t
Conceptually, what is the best way to turn a resource (e.g. a
ResultSet
) into a
Sequence
but automatically close it when operators like
take(1)
terminate it early? Probably a noob question, but I'm not good at leveraging "try with resources" much less implementing it into a Sequence somehow.