Document API call 'cooperation' guarantees.
jmalloc opened this issue · comments
James Harris commented
Not all API operations are 'cooperative'. That is, even though you use the yield
keyword to call them, they don't necessarily "yield" CPU time to other strands.
The doc-blocks of each method should state its guarantees (and if possible, functional tests should verify the guarantees).
James Harris commented
@koden-km This is probably another good 'lern2recoil' one.
James Harris commented
This is done in the Recoil
facade in recoil/api
.