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

endless.transaction.impl.algebra.TransactionCreator.scala Maven / Gradle / Ivy

There is a newer version: 0.4.0
Show newest version
package endless.transaction.impl.algebra

import cats.data.NonEmptyList
import endless.\/
import endless.transaction.impl.algebra.TransactionCreator.AlreadyExists

private[transaction] trait TransactionCreator[F[_], TID, BID, Q] {
  def create(id: TID, query: Q, branches: NonEmptyList[BID]): F[AlreadyExists.type \/ Unit]
}

private[transaction] object TransactionCreator {
  object AlreadyExists
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy