Say I have a class that contains an inner concurent hash map
final class SomeClass() {
private val byUserId = new ConcurrentHashMap[User.ID, Vector[User]](64)
// ...
}
Now if I wanted to have this class referenced in my API endpoints and other areas in my services, how would I wrap this in a cats IO/effects?
Since this is already management state, would it still be an effects IO?
Need some guidance on this as I am a little confused and newish to FP.