Skip to content

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

@prasan2421

Description

@prasan2421

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions