Skip to main content
3 events
when toggle format what by license comment
Jun 18, 2014 at 16:51 comment added sfdcfox @PhilB It's not an interval: your script will receive an event when connectivity is toggled, much like a mouse click or a key event. There's no monitoring involved. The initial check is to see if you're online during load (because you could be loaded from the cache without connectivity).
Jun 18, 2014 at 16:40 comment added Phil B Very cool, didn't know about this, my only question is how could I hook into this to fire my sync once connection is restored? Hopefully something cleaner than just checking on a given interval.
Jun 18, 2014 at 16:34 history answered sfdcfox CC BY-SA 3.0