Hi, I read the `Working with Coroutines`<https://g...
# exposed
d
Hi, I read the `Working with Coroutines` section on Exopsed wiki page and found the following statement. Is it unsafe to use the
transaction
function of Exposed on Ktor? I know there are performance issues, but I am concerned that there may be transaction boundary issues.
What’s more, Exposed store some values in thread-local variables while Coroutines could (and will) be executed in different threads.
you should not try to share a transaction between multiple threads as it will lead to undefined behaviour.
👀 1