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

com.itv.scalapact.shared.ProviderStateResult.scala Maven / Gradle / Ivy

package com.itv.scalapact.shared

final case class ProviderStateResult(result: Boolean, modifyRequest: InteractionRequest => InteractionRequest)

object ProviderStateResult {
  def apply(): ProviderStateResult                = new ProviderStateResult(false, identity[InteractionRequest])
  def apply(result: Boolean): ProviderStateResult = new ProviderStateResult(result, identity[InteractionRequest])

  type SetupProviderState = String => ProviderStateResult
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy