So, individual download tasks within an NSURLSession are throttled by the 
system, which is great. In my app, we allow the user to download "Models." Each 
Model is hundreds of files, so there's a session for each one. A download can 
be canceled by the user or after too many errors. 

But if the user starts several models downloading simultaneously, things seem 
to get very unreliable, and which individual download tasks get scheduled seems 
random.

Is there a way to sequence sessions so that one isn't started until the 
previous one completes?

The problem with me sequencing them manually is twofold:

1) It's more work on my part, and not trivial
2) I can't make that work in the background (I don't think; there would be 
nothing to start the next session after another completes).

TIA,

-- 
Rick Mann
rm...@latencyzero.com



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (Macnetworkprog@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to