[heycam/webidl] How to return a SharedArrayBuffer object (#865)

As far as I can tell a JS `SharedArrayBuffer` can enter IDL through an IDL `ArrayBuffer` that's effectively a pointer to the JS object.

Now assuming #342 is fixed and you can use `[AllowShared] ArrayBuffer` as return value, what language do you use to return a `SharedArrayBuffer`? Do you need to construct the JS object, then make an IDL `ArrayBuffer` object that points to it, and then return the IDL object?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/865

Received on Friday, 27 March 2020 12:51:57 UTC