Tags: #callback #future
"So, what do you do if the library you want to use provides a callback facility, and not a future-based wait facility? You wrap the callback in a future."
https://www.justsoftwaresolutions.co.uk/threading/wrapping-callbacks-with-futures.html
"So, what do you do if the library you want to use provides a callback facility, and not a future-based wait facility? You wrap the callback in a future."
https://www.justsoftwaresolutions.co.uk/threading/wrapping-callbacks-with-futures.html