InDecisive

final case class InDecisive[T](result: T) extends Decision[Nothing, Nothing, T]
trait Decision[Nothing, Nothing, T]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

inline def >>[R2, E2, B](f: => Decision[R2, E2, B]): Decision[R2, E2, B]
Inherited from:
Decision
inline def >>=[R2, E2, B](f: T => Decision[R2, E2, B]): Decision[R2, E2, B]
Inherited from:
Decision
def flatMap[R2, E2, B](f: T => Decision[R2, E2, B]): Decision[R2, E2, B]

binds another decision to this one, creates a new decision

binds another decision to this one, creates a new decision

Inherited from:
Decision

whether is accepted or not

whether is accepted or not

Inherited from:
Decision

whether is rejected or not

whether is rejected or not

Inherited from:
Decision
def map[B](f: T => B): Decision[Nothing, Nothing, B]

creates a new decision that changes the output value of this one

creates a new decision that changes the output value of this one

Inherited from:
Decision
Inherited from:
Product
def toEither: EitherNec[Nothing, T]

Ignores events and creates an Either

Ignores events and creates an Either

Inherited from:
Decision

Ignores events and errors and creates an Option that contains program output

Ignores events and errors and creates an Option that contains program output

Inherited from:
Decision
def toValidated: ValidatedNec[Nothing, T]

Ignores events and creates a ValidatedNec

Ignores events and creates a ValidatedNec

Inherited from:
Decision
@targetName("validateEither")
def validate[R2, B](f: T => Either[R2, B]): Decision[R2, Nothing, B]

Validates output using an Either

Validates output using an Either

Inherited from:
Decision
@targetName("validateEitherNec")
def validate[R2, B](f: T => EitherNec[R2, B]): Decision[R2, Nothing, B]

Validates output using an EitherNec

Validates output using an EitherNec

Inherited from:
Decision
def validate[R2, B](f: T => ValidatedNec[R2, B]): Decision[R2, Nothing, B]

Validates output using a ValidatedNec

Validates output using a ValidatedNec

Inherited from:
Decision
def visit[B](fr: Type[Nothing] => B, fa: T => B): B

traverses this decision, run fr if there are errors and runs fa if there is some output

traverses this decision, run fr if there are errors and runs fa if there is some output

Inherited from:
Decision
def void: Decision[Nothing, Nothing, Unit]

Ignores output value

Ignores output value

Inherited from:
Decision