Skip to content

Support WebIDL callback functions #257

@fitzgen

Description

@fitzgen

https://heycam.github.io/webidl/#idl-callback-functions

Example:

callback AsyncOperationCallback = void (DOMString status);

interface AsyncOperations {
  void performOperation(AsyncOperationCallback whenFinished);
};

Should probably translate these into FnMove(...) -> ... since we can't be sure about the way the interfaces might use the callbacks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    closuresAdding more support for closures on the boundaryfrontend:webidlIssues related to the WebIDL frontend to wasm-bindgenhelp wantedWe could use some help fixing this issue!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions