Requests bound to ThreadLocal #10
Unanswered
thiagonuic
asked this question in
Q&A
Replies: 1 comment 10 replies
-
At the moment KMQTT is single threaded and kotlin coroutines are not used. I haven't tried it myself but it should be fine to do what you're asking. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Do you know if each request is safe to assume to keep on the same Thread throughout the life of it? In Kotlin basically would mean no coroutines I guess. I want to bind some things to ThreadLocal, but in order to do so in a safe way, each request needs to stay on the same thread the whole time.
Cheers,
Beta Was this translation helpful? Give feedback.
All reactions