-
Notifications
You must be signed in to change notification settings - Fork 78
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
async_wrap: polyfill #8
Comments
Reaching full parody would be very difficult. Since the |
Yes, I expected some things--handle in particular--would simply not be accessible in past versions. As for |
@Qard Just need to be careful you're patching the correct thing. e.g. you'd have to patch |
That sounds fine to me. I might actually just go straight for the |
Did you ever have any luck here, what approach did you end up going with? |
Haven't taken the time to do anything with it due to the API not being very stable for awhile. @trevnorris Is async_wrap in a stable enough state at this point that it'd make sense to start working on this? |
@Qard Actually I'm trying to get it ready to be "public" API so have been working on several things. So I'd say expect more changes for the next little while, but also they'll most likely be smaller changes. |
Yeah, I was aware there was some effort going into preparing it to go public, but I didn't know what that meant for short-term API stability. I'll take another look when it's ready to go public to see if I can get a decent polyfill put together. 😸 |
closing old AsyncWrap issues, please start a new thread if appropriate |
We need a polyfill for the async_wrap API to use in older versions of node/io.js.
It'll need roughly the same monkey-patching that async-listener does, but triggering slightly different things from the calls. Some changes will need to be made to pass around handles.
Concerns:
this
object of patched functionsThe text was updated successfully, but these errors were encountered: