RTAction

org.finos.morphir.runtime.RTAction
See theRTAction companion object
final case class RTAction[-R, +E, +A](computation: ZPure[Nothing, RTExecutionContext, RTExecutionContext, R, E, A]) extends AnyVal

A runtime action that can be executed to produce a result

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
Self type
RTAction[R, E, A]

Members list

Value members

Concrete methods

def *>[R1 <: R, E1 >: E, B](that: RTAction[R1, E1, B]): RTAction[R1, E1, B]
def <*[R1 <: R, E1 >: E, B](that: RTAction[R1, E1, B]): RTAction[R1, E1, A]
def as[B](b: B): RTAction[R, E, B]
def flatMap[R1 <: R, E1 >: E, B](f: A => RTAction[R1, E1, B]): RTAction[R1, E1, B]
def map[B](f: A => B): RTAction[R, E, B]
def runEither(implicit ev2: Any <:< R): Either[E, A]
def runEitherWith(context: RTExecutionContext)(implicit ev2: Any <:< R): Either[E, A]
def runResult(context: RTExecutionContext)(implicit ev1: Any <:< R, ev2: E <:< Nothing): A
def toZIO(implicit ev2: Any <:< R): ZIO[R & RTExecutionContext, E, A]
def toZIOWith: ZIO[R, E, A]
def toZIOWith(context: RTExecutionContext): ZIO[R, E, A]
def toZPure: ZPure[Nothing, RTExecutionContext, RTExecutionContext, R, E, A]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product