fluttercommunity / get_it

Get It - Simple direct Service Locator that allows to decouple the interface from a concrete implementation and to access the concrete implementation from everywhere in your App. Maintainer: @escamoteur
https://pub.dev/packages/get_it
MIT License
1.36k stars 149 forks source link

Does get_it support Lazy Singleton with double checked Locking? #307

Closed anggaaryas closed 1 year ago

anggaaryas commented 1 year ago

For example when 2 Future method call same lazy singleton asynchronously. Or do you have better solution about this problem?

escamoteur commented 1 year ago

I know that it's been a long time, but I had to make a longer break due to health issues. What exactly is the problem in that case?