All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.avito.android.runner.devices.internal.ReservationClient.kt Maven / Gradle / Ivy

Go to download

Collection of infrastructure libraries and gradle plugins of Avito Android project

There is a newer version: 2024.32
Show newest version
package com.avito.android.runner.devices.internal

import com.avito.android.runner.devices.model.ReservationData
import com.avito.runner.service.worker.device.DeviceCoordinate
import kotlinx.coroutines.channels.ReceiveChannel

internal interface ReservationClient {

    class ClaimResult(
        val deviceCoordinates: ReceiveChannel
    )

    suspend fun claim(reservations: Collection): ClaimResult

    suspend fun remove(
        podName: String
    )

    suspend fun release()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy