Action

edomata.core.Action
See theAction companion object
final case class Action[F[_], R, E, N, A](run: F[ResponseD[R, E, N, A]])

A monad transformer for ResponseD

Type parameters

A

output type

E

domain event type

F

effect type

N

notification type

R

rejection type

Attributes

Companion
object
Source
Action.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def as[B](b: B)(using F: Functor[F]): Action[F, R, E, N, B]

Attributes

Source
Action.scala
def flatMap[R2 >: R, E2 >: E, N2 >: N, B](f: A => Action[F, R2, E2, N2, B])(using M: Monad[F]): Action[F, R2, E2, N2, B]

Attributes

Source
Action.scala
def map[B](f: A => B)(using F: Functor[F]): Action[F, R, E, N, B]

Attributes

Source
Action.scala
def publish(ns: N*)(using F: Functor[F]): Action[F, R, E, N, A]

Adds notification without considering decision state

Adds notification without considering decision state

Attributes

Source
Action.scala
def reset(using F: Functor[F]): Action[F, R, E, N, A]

Clears all notifications so far

Clears all notifications so far

Attributes

Source
Action.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product