grantila / q

A platform-independent promise library for C++, implementing asynchronous continuations.
http://libq.io
Apache License 2.0
193 stars 24 forks source link

Is it possible to know the current status of a Defer #32

Open koushikchalla opened 3 years ago

koushikchalla commented 3 years ago

My app runs core async code on C++ (using web assembly). I want to call a c++ async function (returns Defer) from js . I can bind Data types such that js understands (using emscripten embind). Is there something like Defer.status so that my js code can know till when it should wait