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
The test of __await__here is very rudimentary, with the future object beeing set immediately in the C++ function. I have been trying to get an example C++ code running with an std::thread doing actual background work, but was unsuccessful. Do you have an example of a C++ code that does actual background work and eventually sets a future that the asyncio event loop awaits on?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The test of
__await__
here is very rudimentary, with the future object beeing set immediately in the C++ function. I have been trying to get an example C++ code running with anstd::thread
doing actual background work, but was unsuccessful. Do you have an example of a C++ code that does actual background work and eventually sets a future that the asyncio event loop awaits on?Beta Was this translation helpful? Give feedback.
All reactions