ios - RESTKIT : How to abort unfinished network calls if new request is sent -



ios - RESTKIT : How to abort unfinished network calls if new request is sent -

is there way abort unfinished network calls haven't returned responses yet when new network request called?

currently request getting added in nsoperationqueue. want have 1 request @ time.

using object manager, phone call cancelallobjectrequestoperationswithmethod:matchingpathpattern: - though mean need know patterns want cancel (or potential patterns).

alternatively can of operations on queue , cancel them...

usually cancel 1 request when new 1 made pattern alternative suffices.

ios restkit

Comments

Popular posts from this blog

javascript - THREE.js reposition vertices for RingGeometry -

javascript - I need to update the text of a paragraph by inline edit -

assembly - What is the addressing mode for ld, add, and rjmp instructions? -