whenLiveLocation

inline fun <T> Location.whenLiveLocation(block: (LiveLocation) -> T): T?