GeoTecINIT / nativescript-task-dispatcher

NativeScript-based mobile background task scheduler and dispatcher
Apache License 2.0
18 stars 6 forks source link

feat: able to run same task multiple times sequentially #51

Closed agonper closed 2 years ago

agonper commented 2 years ago

Closes #44


@matey97 Please, carefully check this one and, if possible, think of any collateral effects I may have ignored. Thank you! 😄

agonper commented 2 years ago

Ok, everything fixed now. Thanks for the quick check @matey97. I've noticed that the cancel function was not properly implemented, leading to multiple cancel events being emitted. I've fixed that too. What do you think about the solution I'm proposing?

agonper commented 2 years ago

Yay!! Approved! 🎉

This will go in a next minor release 😉