Skip to content
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

Discussion: How to handle Background Tasks. #1717

Open
JerryNixon opened this issue Nov 20, 2019 · 1 comment
Open

Discussion: How to handle Background Tasks. #1717

JerryNixon opened this issue Nov 20, 2019 · 1 comment
Assignees

Comments

@JerryNixon
Copy link
Member

Right now we do both. If you invoke a background task Application's EnteringBackground event is raised and OnStart is called. Is that confusing? Is that okay? Not sure. Would like your opinions.

@JerryNixon JerryNixon self-assigned this Nov 20, 2019
@JerryNixon JerryNixon changed the title Discussion: Should Tasks cause EnteringBackground event & OnStart? Discussion: How to handle Background Tasks. Nov 20, 2019
@panoukos41
Copy link

To me the OnStart part is confusing, shouldn't EnteringBackground be the only event to call, to have these kinds of events in one entry point only.

A silly question: For what else is OnStart being used, the name can imply many things that start and that becomes confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants