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

A first take at attempting to pass stream handles through IPC #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kickscondor
Copy link

It's possible that all objects should be proxied that are class instances.

than stream objects. It's possible that all objects should be proxied
that are class instances.
@pfrazee
Copy link
Owner

pfrazee commented Jul 23, 2019

Thanks for the PR!

I think we need to look at the streams interface that's being exported, which is a PITA. For web-facing APIs, we probably need to use WHATWG streams, right?

@kickscondor
Copy link
Author

Yes, but I think it will be pretty simple - though you'd know better than I would. It seems like we could just replace 'new Readable' on the import side with 'new ReadableStream' and the appropriate callbacks.

The other question is whether that translation should happen in the RPC lib or in Beaker (since it's the one that's actually mimicking Web APIs.)

Maybe Beaker needs to be given some further hooks into the RPC layer for object translation - like the permissions hook.

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.

None yet

2 participants