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

Lifecycle hooks for node.js #430

Open
yaronyg opened this Issue Jan 11, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@yaronyg
Member

yaronyg commented Jan 11, 2016

We need to know when our node.js code is about to be put into the background or killed so that we can do things like gently shut down Express, flush data out of RAM onto disk, etc. We should also expose these hooks as events that developers can subscribe to.

The native hooks for this will be implemented in #409 and #410

@yaronyg yaronyg added this to the New Infra milestone Jan 11, 2016

@yaronyg yaronyg added 0 - Icebox and removed 0 - Icebox labels Jan 11, 2016

@yaronyg yaronyg added 0 - Icebox and removed 1 - Backlog labels Mar 2, 2016

@yaronyg yaronyg removed this from the New Infra milestone Mar 2, 2016

@yaronyg

This comment has been minimized.

Show comment
Hide comment
@yaronyg

yaronyg Mar 2, 2016

Member

We actually get the basic hooks from JXcore as it is and they are good enough for our current usage. Once we want to do things like use background mode in iOS we will need something more sophisticated.

Member

yaronyg commented Mar 2, 2016

We actually get the basic hooks from JXcore as it is and they are good enough for our current usage. Once we want to do things like use background mode in iOS we will need something more sophisticated.

@yaronyg yaronyg added bug Node and removed 0 - Icebox labels Oct 6, 2016

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