use

fun <T> use(block: () -> T): Either<MapIsNotAccessibleError, T>

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