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

main.app.cash.backfila.service.selfbackfill.LocalCallbackConnectorProvider.kt Maven / Gradle / Ivy

package app.cash.backfila.service.selfbackfill

import app.cash.backfila.client.BackfilaCallbackConnector
import app.cash.backfila.client.BackfilaCallbackConnectorProvider
import javax.inject.Inject
import javax.inject.Singleton

@Singleton
internal class LocalCallbackConnectorProvider @Inject internal constructor(
  private val localClientServiceClient: LocalCallbackConnector,
) : BackfilaCallbackConnectorProvider {
  override fun validateExtraData(connectorExtraData: String?) {
  }

  override fun clientFor(
    serviceName: String,
    connectorExtraData: String?,
  ): BackfilaCallbackConnector {
    return localClientServiceClient
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy