onSuccess

val onSuccess: (request: ImageRequest, metadata: ImageResult.Metadata) -> Unit

A lambda function will be executed when loading succeeds.