Draft PR which fixes #30.
Also small fixes to Task<void>'s destructor, is_done(), is_failed().
Finally, added specific tests for the Task case. I'm not attached to these at all, just a suggestion. Not sure if you want to organize them differently.
Noticed Proxy has const versions of the operator unsafe::Value*(), I'm not sure if Task should have that?
Thank you! I may add the operator const unsafe::Value* const later, I need to check how it interacts with proxy assignment and not having it doesn't break anything afaik
Draft PR which fixes #30. Also small fixes to case. I'm not attached to these at all, just a suggestion. Not sure if you want to organize them differently.
Task<void>
's destructor,is_done()
,is_failed()
. Finally, added specific tests for the TaskNoticed Proxy has const versions of the
operator unsafe::Value*()
, I'm not sure if Task should have that?