I need to return the host asynchronously. Currently, it can only be done synchronously.
I would be happy add support for that functionality and submit a PR.
Would you consider merging this change into your next release? If the answer is yes, then let's talk about the implementation details (promises vs callbacks, extending the API vs breaking changes etc...).
Thanks!