You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add facilities to ease usage of async native patterns like boost::asio #803
I have been using 2 patterns of code to use native code in a promised way with completion handlers from native code, which iof course usually have their own thread regime and don't want to use worker threads from node. Specifically I am using boost::asio oriented code with own managed threads.
I have put my first pattern for simple "Get value from native function which calls a completion handler to a promise" into a class GenericCallbackWrapper and added unit tests. See my PR in a couple of seconds, I guess you want some changes or discussion since for now I hoped to be able to use Node >=10, but I can change that.
changed the title [-]Add facilities to ease usage of async native regimes[/-][+]Add facilities to ease usage of async native patterns like boost::asio[/+]on Sep 24, 2020
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.
Activity
[-]Add facilities to ease usage of async native regimes[/-][+]Add facilities to ease usage of async native patterns like boost::asio[/+]Superlokkus commentedon Sep 24, 2020
BTW here are the wrappers you could also use stand alone without PR:
github-actions commentedon Dec 24, 2020
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.
mhdawson commentedon Dec 24, 2020
There is an active PR related to this: #804