use

fun <T> use(block: () -> T): Result<T, MapIsNotAccessibleFailure>

Allows performing calls when read access is granted. Returns MapIsNotAccessibleFailure if read access is not granted.