net / com.drake.net.scope / StateCoroutineScope
class StateCoroutineScope :
NetCoroutineScope
缺省页作用域
Name | Summary |
---|---|
<init> | 缺省页作用域StateCoroutineScope(state: StateLayout) |
Name | Summary |
---|---|
state | val state: StateLayout |
Name | Summary |
---|---|
catch | fun catch(e: Throwable ): Unit |
finally | fun finally(e: Throwable ?): Unit |
handleError | 错误处理fun handleError(e: Throwable ): Unit |
readCache | 读取缓存回调fun readCache(succeed: Boolean ): Unit |
start | fun start(): Unit |