Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asyncRun这段代码的协程handler里面应该回调error吧,不然报错了,也没有回调,就卡在那了 #26

Open
hxmeie opened this issue Nov 16, 2021 · 1 comment

Comments

@hxmeie
Copy link

hxmeie commented Nov 16, 2021

override fun asyncRun(scope: CoroutineScope, liveData: CompressLiveData<T, List<File>>) {
    val result by lazy { ArrayList<File>() }

    val handler = CoroutineExceptionHandler { _, exception ->
        Checker.logger("handlerCatch -> $exception")                     //这里面不应该回调State.Error吗
    }
@louis-lzt
Copy link

多线程这块确实不好用啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants