Closed fu050409 closed 5 days ago
Now our runtime returns nothing (anyhow::Result<()>), we should poll runtime outside.
anyhow::Result<()>
Runtime::run should returns enum RuntimeStatus like:
Runtime::run
RuntimeStatus
enum RuntimeStatus { Pending, Exit, Next, Restart, }
Now our runtime returns nothing (
anyhow::Result<()>
), we should poll runtime outside.Runtime::run
should returns enumRuntimeStatus
like: