flatMap

fun <R : Resource> Resource.flatMap(transform: suspend (Resource) -> R): LazyResource