Is there anyway to make a provider function as singleton ? There are cases we have one dependency object which must be initialized only once but is used by many other objects. How to handle those cases in uber/dig ?
Is there anyway to make a provider function as singleton ?
There are cases we have one dependency object which must be initialized only once but is used by many other objects.
How to handle those cases in uber/dig ?