AsyncWrap external API improvements
Few improvements to make the AsyncWrap
external API more usable. These include:
- Hooks are optional (except the init hook).
- All
AsyncWrap
instances receive a unique id. - Call callback from the
AsyncWrap
destructor.
R=@bnoordhuis