-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wait for objc block #97
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to wait for an async objc block to finish before returning from a JavaScript function. The problem is that the node process exists before the block is called by Cocoa. How can I wait for the block and make sure node doesn't exit until after the block was called?
I know that in Objective-C, I can use a
dispatch_semaphore_t
, but I couldn't get that working viaNodObjC
.Any ideas?
The text was updated successfully, but these errors were encountered: