-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Labels
Description
The docstring for transfer documents the behavior of of the :close? flag as the following:
close?
- whether the sink should be closed once the transfer is done, defaults to true.
However, on further inspection, transfer-fn appears to close both the source and sink streams when :close? is set, leading to potentially undesirable behavior if the caller is not expecting the source stream to close.
I would suggest either updating the docstring or behavior to be consistent with the user's expectations.