Skip to content

How to return a SharedArrayBuffer object #865

Closed
@annevk

Description

@annevk

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions