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

Node equivalent? #125

Open
natew opened this issue Sep 21, 2018 · 5 comments
Open

Node equivalent? #125

natew opened this issue Sep 21, 2018 · 5 comments

Comments

@natew
Copy link

natew commented Sep 21, 2018

This may be a strange place to ask but some searching hasn't been fruitful yet, but this exact interface for Node would be quite helpful to me. Anyone know of a similar library?

@surma
Copy link
Contributor

surma commented Sep 24, 2018

I am not aware of any projects for Node that do something like Clooney.

I have a TODO to make Comlink work with Node. Once that happens, Clooney should “just work” with Node.

@yoDon
Copy link

yoDon commented Jan 10, 2019

Any chance you've had a moment or two to think about a Node release? Wishing I could use this on the server.

@trusktr
Copy link

trusktr commented Mar 22, 2019

Looks like there's workers in Node now: https://nodejs.org/api/worker_threads.html

Looks like Comlink just needs to look for on/off instead of addEventListener/removeEventListener? It might be like a one- or two-line change.

@surma
Copy link
Contributor

surma commented Mar 22, 2019

I was waiting for this PR to land. It has landed and got merged into Node 11.11 it seems, but neither Node 11.11 nor Node 11.12 exhibit the desired behavior.

Once that lands, I’ll add support for Node in Comlink v4, which should just be an additional endpoint wrapper.

@yoDon
Copy link

yoDon commented Nov 13, 2019

It looks like you have Comlink working in node - anything we need to do to enable Clooney support in node?

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

4 participants