Hello, I'm using ``` <dependency> ...
# coroutines
p
Hello, I'm using
Copy code
<dependency>
            <groupId>org.jetbrains.kotlinx</groupId>
            <artifactId>kotlinx-coroutines-core</artifactId>
            <version>1.10.2</version>
        </dependency>
and in Idea I can not see
limitedParallelism
available for any dispatcher. I want to use
<http://Dispatchers.IO|Dispatchers.IO>.limitedParallelism(nThreads)
. Am I missing something fundamental?
1
c
does it compile though?
p
No, I get
Kotlin: Unresolved reference: limitedParallelism
n
@Panos If you don't have big projects in Idea, try these two options 1. Restart the IDE 2. Invalidate caches (CTRL+SHIFT+A invalidate) and restart the IDE If you do, or if the two actions above don't help: could you create a new minimal project? If the issue is still present, please send a zip of the minimal project over.
p
Thank you @Natasha Murashkina. I'll give it a try as soon as I can.