public suspend fun ImageLoader.loadImageResource( context: Context, data: Any?, configurer: ImageRequest.Builder.() -> Unit = {} ): ImageResource? = loadImage(context, data, configurer)?.toImageResource()
Load an ImageResource from a CoilImage loader.