Skip to content

returning synchronous array in c++ addon #194

@Mohamadhj

Description

@Mohamadhj

Hello everyone,

I have a c++ code that I'm using nan to be able to implement it in nodejs environment. The problem is, my code has an while loop and wants to send an array for each loop to the nodejs, but I can only send one array in the addon with args.GetReturnValue.Set() or info.GetReturnValue.Set(). Is there a way to continously send data rather than just returning one value at the end of the addon?

Appreciating any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions