io.github.timwspence.cats.stm

Type members

Classlikes

trait STM[F[_]] extends STMLike[F] with TDeferredLike[F] with TMVarLike[F] with TQueueLike[F] with TSemaphoreLike[F]
Companion:
object
Source:
STM.scala
object STM
Companion:
class
Source:
STM.scala
trait STMLike[F[_]]
trait TDeferredLike[F[_]] extends STMLike[F]
trait TMVarLike[F[_]] extends STMLike[F]

Convenience definition providing MVar-like behaviour in the STM monad. That is, a TMVar is a mutable memory location which is either empty or contains a value.

Convenience definition providing MVar-like behaviour in the STM monad. That is, a TMVar is a mutable memory location which is either empty or contains a value.

Analogous to cats.effect.concurrent.MVar.

Source:
TMVar.scala
trait TQueueLike[F[_]] extends STMLike[F]

Convenience definition of a queue in the STM monad.

Convenience definition of a queue in the STM monad.

Source:
TQueue.scala
trait TSemaphoreLike[F[_]] extends STMLike[F]

Convenience definition of a semaphore in the STM monad.

Convenience definition of a semaphore in the STM monad.

Analogous to cats.effect.concurrent.Semaphore.

Source:
TSemaphore.scala