Leon Kiefer
Leon Kiefer
I spent 8 hours investigating strange flow behaviour in our code base, just to find out that its a bug in kotlin.
Can someone point me to the source code of the coroutine dispatcher implementation, then I can take a look and try to debug the problem.
I found this dispatcher implementation which is used by the resteasy reactive client. https://github.com/quarkusio/quarkus/blob/32d0c2dd4d935149c71f6e81524fb3a46fe89515/extensions/resteasy-reactive/rest-kotlin/runtime/src/main/kotlin/org/jboss/resteasy/reactive/server/runtime/kotlin/ApplicationCoroutineScope.kt#L34-L51 There is also a similar implementation in the vertx extension https://github.com/quarkusio/quarkus/blob/ea2c6a4090d1eccb4b39250198601f7da9454833/extensions/vertx/kotlin/runtime/src/main/kotlin/io/quarkus/vertx/kotlin/runtime/VertxDispatcher.kt Both implementations do not use...
@geoand why can the Dispatcher from vertx-lang-kotlin-coroutines not be used in quarkus. If it can not reused, what changes are needed in quarkus to port the Dispatcher from vertx-lang-kotlin-coroutines.
@geoand you mean this code? ```kotlin requestScope.activate() CurrentRequestManager.set(rrContext) try { block.run() } finally { requestScope.deactivate() } ``` I don't know what this code is used for, but it looks like...
> You essentially need to propagate a lot of context from the thread were the request initiates to whatever thread is going to be used for running each stage of...
@geoand have you looked into using `ThreadContextElement`?
We are currently using sentry-kotlin-multiplatform in our shared common source set and now want to add wasm target, we successfully updated all our kotlin common dependencies to support wasm target,...
I'm not sure if the current iOS implementation is working. The typescript generator can generate constants independent of react native, but they have to be known at compile time. To...
We are seeing the same issue and already tried different sampling parameters.