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

Enable parallel.js to transmit transferable objects #11

Merged
merged 1 commit into from
Feb 25, 2013
Merged

Enable parallel.js to transmit transferable objects #11

merged 1 commit into from
Feb 25, 2013

Conversation

Sebmaster
Copy link
Collaborator

This only works in a client side setting because node.js transmits it's values via a socket and therefore string based.

This is necessary to enable developers to transmit Uint8Array contents of a canvas for example. This would be painfully slow to transmit with JSON.

I didn't have anything to test with node.js, although I tried to change as little as possible in that respect.
As for the client side: I added a new example to the index.html file and tested all the available examples successfully.

This only works in a client side setting because node.js transmits it's values via a socket and therefore string based.
@adambom
Copy link
Collaborator

adambom commented Feb 25, 2013

Anyway, thanks for submitting this. I'll do some more review tonight.

adambom added a commit that referenced this pull request Feb 25, 2013
Enable parallel.js to transmit transferable objects
@adambom adambom merged commit 5e59f62 into parallel-js:master Feb 25, 2013
Sebmaster added a commit that referenced this pull request May 1, 2013
This fixes #8 and (for now) #11, although the fix for #11 should actually be a wrapper script.
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

Successfully merging this pull request may close these issues.

2 participants