abstract virtual class concurrent::Async
sys::Obj concurrent::Async : concurrent::Promise<Async^T>
- awaitRes
-
Obj? awaitRes
resolved value
- err
-
virtual override Err? err
err in async task
- isDone
-
virtual override Bool isDone()
- nextStep
-
protected abstract Bool nextStep()
- result
-
virtual override Async^T? result { protected set }
async function final return result
- sleep
- state
-
protected Int state := 0
execute step state
- step
-
Bool step()
run next step call by AsyncRunner
- then