Skip to content

N-API Callback Return #13562

Closed
Closed
@1995parham

Description

@1995parham
  • Version: v8.1.0
  • Platform: Linux 4.10.0-21-generic
  • Subsystem:

I think N-API doesn't have any documented way for return something from callbacks. we have just napi_get_cb_info for reading information from napi_callback_info and there is no specific way for write something into them but in documentation mention that it can be used for Set the return value of the callback

Metadata

Metadata

Assignees

Labels

docIssues and PRs related to the documentations.node-apiIssues and PRs related to the Node-API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions