Skip to content

Support JavaScript functions as arguments to Go calls #9

@cwc

Description

@cwc

Reference: http://izs.me/v8-docs/classv8_1_1Function.html

JavaScript functions passed to Go appear to be nil values. I'm not sure what the ideal way would be to wrap the functions, but perhaps you'd have something like a V8Function object, with a Call(...args interface{}) method. Then Go could receive pointers to JavaScript functions and call back into them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions