Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Add IPC channel disconnect method and process isolate method. #2426

Closed
wants to merge 8 commits into from

Conversation

AndreasMadsen
Copy link
Member

This allow the following issues to be fixed:

disconnect:
This allow one to disconnect the IPC between parent and child, allowing the child to die gracefull.

isolate:
This allow the parent to die gracefull independent of its child. This makes it easy to pull a process in the background should you wich so.

@ry @bnoordhuis
I have a felling that the process._channel.close() is async but do not have a callback, could you confirm or disconfirm this.

This also solves some future issues related to cluster 2.0 (see #2038)

@AndreasMadsen
Copy link
Member Author

Disconnect has landed in 836344c.
Isolate is renamed to independent and is moved to #2676.

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

Successfully merging this pull request may close these issues.

1 participant