You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All responses must be closed manually, and there’s the close method to do that
All async responses must likewise be closed manually
TODO: make an aclose method on the RangeStream
If no client is passed to AsyncFetcher then one will be created for the duration of the loop over the URLs passed in (matching the way a client is made if not passed to the RangeStream, except that for a loop over multiple URLs it’s more efficient to instantiate a client once only).
Actually, when writing this out, it almost makes me think this is inconsistent and the proper behaviour should be not to close the created client in this case, to match the behaviour at the RangeStream level?
The text was updated successfully, but these errors were encountered:
All responses must be closed manually, and there’s the
close
method to do thatAll async responses must likewise be closed manually
If no
client
is passed toAsyncFetcher
then one will be created for the duration of the loop over the URLs passed in (matching the way a client is made if not passed to the RangeStream, except that for a loop over multiple URLs it’s more efficient to instantiate a client once only).The text was updated successfully, but these errors were encountered: