[6.5.0] add nde interface and func

This commit is contained in:
EmArrow
2024-06-17 18:59:28 +08:00
parent a6f132aee4
commit 150e30f635
6 changed files with 87 additions and 36 deletions

View File

@@ -51,10 +51,7 @@ class Request<T> {
}
fun request(requestKey: String? = null) {
//todo list 缓存result 在停止时关闭
GlobalScope.launch(context = Dispatchers.Main) {
start?.invoke()
try {
val deferred = GlobalScope.async(Dispatchers.IO, start = CoroutineStart.LAZY) {