Primitives2

izumi.functional.bio.Primitives2
See thePrimitives2 companion object
trait Primitives2[F[_, _]]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def mkPromise[E, A]: F[Nothing, Promise2[F, E, A]]
def mkRef[A](a: A): F[Nothing, Ref2[F, A]]
def mkSemaphore(permits: Long): F[Nothing, Semaphore2[F]]

Concrete methods

def mapK[G[_, _]](fg: Morphism2[F, G])(implicit G: Functor2[G]): Primitives2[G]
Implicitly added by Primitives2Ops
def mkLatch: F[Nothing, Promise2[F, Nothing, Unit]]