Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
async_wrap: update utility methods for flexibility
Original PR: ayojs/ayo#82 > This makes some of the internal `AsyncWrap::MakeCallback()` > utility wrappers throw rather than crash the process when > the requested method is not present on the `this` object. > Doing so makes it easier for future code to expose C++ > objects directly to userland, where JS code can overwrite > or delete such methods. > PR-URL: ayojs/ayo#82 > Reviewed-By: Stephen Belanger <[email protected]>
- Loading branch information