FindParkingSlots

Finds the parking slots in a radius of Params.radius meters from Params.center

Constructors

Link copied to clipboard
constructor(parkingSlotRepository: ParkingSlotRepository)

Types

Link copied to clipboard
data class Params(val center: GeoPosition, val radius: Double)

Functions

Link copied to clipboard
suspend operator fun invoke(params: FindParkingSlots.Params): Either<AppError, List<ParkingSlot>>
Link copied to clipboard
suspend operator fun <Res> AsyncUseCase<Unit, Res>.invoke(): Res

Utility method to avoid passing Unit argument to invoke