boostorg / python

Boost.org python module
http://boostorg.github.io/python
Boost Software License 1.0
468 stars 201 forks source link

Asyncio support? #381

Open db4 opened 2 years ago

db4 commented 2 years ago

Can I implement an async function in C++ that will await a Python coroutine? If it's not directly possible, is there any way around it? I have a stream of external events that I need to process in an asyncio-based Python program.