AsyncLpmResourceRepository

AsyncLpmResourceRepository that loads all lpm resources from JSON asynchronously.

Constructors

Link copied to clipboard
@Inject
fun AsyncLpmResourceRepository(resources: Resources)

Functions

Link copied to clipboard
open override fun getRepository(): LpmRepository
Link copied to clipboard
open override fun isLoaded(): Boolean
Link copied to clipboard
open suspend override fun waitUntilLoaded()

Suspend function that will wait for resource to be loaded. Must be called before trying to get any of the repositories.