Don't execute interval'd function immediately
Closed this issue · 2 comments
joeyfigaro commented
I'd like to use this to set up background syncing every five minutes, but sync is being executed as soon as START_TIMER
fires. I imagined the initial action would set up the interval, but that's it.
btav commented
@joeyfigaro We can add a runImmediately
flag that will control whether or not it would execute when START_TIMER
fires.
btav commented
@joeyfigaro this has been merged and available in version 1.1.3
.