Module qilletni.api

Interface DynamicProvider


public interface DynamicProvider
Represents a service provider that can be switched at runtime. It is important to pass around an instance of this interface rather than individual service provider interfaces (e.g. MusicCache, MusicFetcher, etc.) because if the service provider is switched, the underlying implementations will need to be changed too.