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

How node implement MessageChannel Api #6

Open
nextfool opened this issue Dec 2, 2021 · 2 comments
Open

How node implement MessageChannel Api #6

nextfool opened this issue Dec 2, 2021 · 2 comments

Comments

@nextfool
Copy link

nextfool commented Dec 2, 2021

Hi @danbev,

Can you explain a little bit on how node implement the "MessageChannel" api?

I googled on this topic and seems few people talked about the api implementation, only its usage.

I checked the "node_messaging.h" as well as "node_messaging.cc", and knew what a message channel/port looks like, but I can't figure out how node uses those data structure to implement a real message channel, by that I mean being ware of /keeping tracking of the communications between contexts(a parent worker and a child worker, many siblings workers etc.)

Hope you don't mind I ask a question here.

Thank you.

@danbev
Copy link
Owner

danbev commented Dec 2, 2021

Hi @nextfool

I think it is great that you are digging into Node.js and I would have liked to help, but my time is limited and I'm currently focusing on other topics. So I'm afraid I won't be able to answer questions.

@nextfool
Copy link
Author

nextfool commented Dec 3, 2021

Hi @danbev ,
Thank you for the reply. Maybe in the future you can focus on this topic.
Look forward to your other articles.

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

No branches or pull requests

2 participants