Skip to content

Need example for : BackgroundService.on('expiration', .. #226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
prasan2421 opened this issue Jun 19, 2024 · 1 comment
Open

Need example for : BackgroundService.on('expiration', .. #226

prasan2421 opened this issue Jun 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@prasan2421
Copy link

I have tried running this function on ios but it doesn't seem to be working or maybe I'm not using it right. We need a proper example for this.

BackgroundService.on('expiration', () => {
console.log('I am being closed :(');
});

await BackgroundService.start(veryIntensiveTask, options);

@Rapsssito Rapsssito added documentation Improvements or additions to documentation bug Something isn't working and removed documentation Improvements or additions to documentation labels Jul 9, 2024
@klayverxd
Copy link

Same, here. Any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants