NoAction

io.github.srs.model.entity.dynamicentity.action.NoAction
final case class NoAction[F[_]]()(using evidence$1: Monad[F]) extends Action[F]

NoAction represents an action that does nothing on the dynamic entity.

Type parameters

F

the effect type of the action.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Action[F]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def run[E <: DynamicEntity](dynamicEntity: E)(using a: ActionAlg[F, E]): F[E]

Runs the no-action on the given dynamic entity.

Runs the no-action on the given dynamic entity.

Value parameters

a

the ActionAlg to use for executing the action.

dynamicEntity

the dynamic entity on which the action will be executed.

Attributes

Returns

a new instance of DynamicEntity after executing the action (which is the same as the input entity).

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product