async_simple
async_simple copied to clipboard
Handle executor's schedule/checkin return value
Search before asking
- [x] I searched the issues and found no similar issues.
What happened + What you expected to happen
https://github.com/alibaba/async_simple/blob/5d14230047e1e111ebc7f5a9ee963cbd940d4dd6/async_simple/coro/ViaCoroutine.h#L66
If executor's checkin method returned false and task not be executed, this may caused the lazy can not resumed. We should handle the return value, how about to add the logicAssert?
Reproduction way
Anything else
Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!