org.allenai.pipeline
Given a function that converts an InputStream into an Iterator, this closes the InputStream when the Iterator has been fully consumed.
Given a function that converts an InputStream into an Iterator, this closes the InputStream when the Iterator has been fully consumed.