BREAKING CHANGE(lifecycle): redesign SmartExit with ProcessLifecycle singleton
SmartExit constructor no longer installs signal handlers. Applications must call ProcessLifecycle.install() explicitly. Split into SmartExit (instance process tracking) and ProcessLifecycle (global signal coordination). Remove @push.rocks/smartdelay dependency.
This commit is contained in:
@@ -5,10 +5,9 @@ export { childProcess };
|
||||
|
||||
// pushrocks scope
|
||||
import * as lik from '@push.rocks/lik';
|
||||
import * as smartdelay from '@push.rocks/smartdelay';
|
||||
import * as smartpromise from '@push.rocks/smartpromise';
|
||||
|
||||
export { lik, smartdelay, smartpromise };
|
||||
export { lik, smartpromise };
|
||||
|
||||
// third party scope
|
||||
import * as treeKill from 'tree-kill';
|
||||
|
||||
Reference in New Issue
Block a user