We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to log with Napier from within an async block.
async
fun testLog() = coroutineScope { someList.map { element -> async { Napier.d( "Processing $element") someSuspendFunc(element) Napier.d("Done processing $element") } }.awaitAll() }
Running the code in iOS gives the following error:
kotlin.native.IncorrectDereferenceException: Trying to access top level value not marked as @ThreadLocal or @SharedImmutable from non-main thread
Any solution for this?
The text was updated successfully, but these errors were encountered:
Please check 2.0.0-alpha2
2.0.0-alpha2
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I am trying to log with Napier from within an
async
block.Running the code in iOS gives the following error:
Any solution for this?
The text was updated successfully, but these errors were encountered: