question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question: Difference Between finish() and stop()?

See original GitHub issue

What’s the difference between BackgroundFetch.finish() and BackgroundFetch.stop()? It’s not super clear from the documentation. It just suggests that we should call finish() when we’re completed the task, but stop() seems to be doing the same thing.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
christocracycommented, Oct 23, 2019

is there a possible period reference

No. This API is a black box with an ON/OFF switch. Apple has a secret algorithm and they don’t share any details about it.

0reactions
Jacky9425commented, Oct 23, 2019

Sorry another question, is there a possible period reference on how long will the app stop running the task within the given interval if the app is on background for a very long time (more than 12 hours)?

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Difference Between: Finish, Stop & End - YouTube
The difference between ' Finish ', " Stop " & ' End ' in English. Finish @ 00:27Stop @ 01:30 End @ 02:17....
Read more >
$.stop() vs. $.finish() in jQuery animations - NamasteUI
jQuery stop and finish methods are used to end of all of the queued animations. jQuery stop() method stops the currently running animation...
Read more >
What is the difference between calling stop(true ... - QueryHome
The .finish() method is similar to .stop(true, true) in that it clears the queue and the current animation jumps to its end value....
Read more >
jQuery Stop() finish() - Net-Informations.Com
jQuery finish() method stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements. when you call $ ......
Read more >
What is the difference between "end" and "close" and "stop ...
What is the difference between end and close and stop and conclude and finish ?Feel free to just provide example sentences. · "End"...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found