load

suspend fun load(url: String, width: Int, height: Int): Result<Bitmap?>

loads the given url with the associated widthxheight.

If the same url is being loaded concurrently, function will be suspended until the original load completes.


suspend fun load(url: String): Result<Bitmap?>