All Downloads are FREE. Search and download functionalities are using the official Maven repository.

endless.core.event.EventApplier.scala Maven / Gradle / Ivy

There is a newer version: 0.31.0
Show newest version
package endless.core.event

import endless.\/

/** Function that defines transition of the state given an event (or invalid event for the given
  * state).
  *
  * @tparam S
  *   state
  * @tparam E
  *   event
  */
trait EventApplier[S, E] extends ((Option[S], E) => String \/ Option[S])




© 2015 - 2024 Weber Informatics LLC | Privacy Policy