core :: Stream :: finish
Used to inform self that the operations are over. Specific streams can use this to free some resources.
self
Is automatically invoked at the end of with structures.
with
call close by default.
close
# Post-work hook. # # Used to inform `self` that the operations are over. # Specific streams can use this to free some resources. # # Is automatically invoked at the end of `with` structures. # # call `close` by default. fun finish do close