&gt; The <JetBrains java-annotations> library con...
# coroutines
r
The JetBrains java-annotations library contains a
@BlockingExecutor
annotation that sounds like the thing you need.
Maybe I don't use it correctly or it just does not fit my need but: We use a custom Qualifier to inject the dispatcher in our class, so we got the
BlockingMethodInNonBlockingContext
warning. If we add the
@BlockingExecutor
annotation on the param type, it works (no more warning), but there is no check on which dispatcher we actually pass. I would expect to be able to annotate our proper custom Qualifier so the check could happen during binding.