Skip to content

Conversation

EduFrazao
Copy link
Collaborator

  • Method exported to its own file

 - Method exported to its own file
 - Exported to this own file
 - Created the async version of this feature
 - Incorrect dependency from package.json removed.
 - Better parameter checking of async batch execution
const jsi::Value &params = args[1];
const jsi::Value &callbackHolder = args[2];
if(!callbackHolder.isObject() || !callbackHolder.asObject(rt).isFunction(rt)) {
return {};
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, throw error

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@EduFrazao throw an error here too please and I'll merge it

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ospfranco , its strange, to me its already throwing.
This code looks this way even after ea6de4f ?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, ok, I see it now, but not on this comment, weird.

@ospfranco ospfranco merged commit a069019 into ospfranco:async-callback-threads Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants