case classOperation[A](run: (Option[A]) ⇒ Result[A]) extends Product with Serializable
Data-type that represents an operation that can be saved to an EventSource.API.
This type represents conditionally applied transformations of the data, so
it is possible to have check-then-act semantics for all updates, including
insert only if absent, and replace if value matches.
There is syntax for creating Operations, eg. "foo".insertOp and deleteOp that
is accessible via import Operation.syntax._
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Data-type that represents an operation that can be saved to an
EventSource.API
.This type represents conditionally applied transformations of the data, so it is possible to have check-then-act semantics for all updates, including insert only if absent, and replace if value matches.
There is syntax for creating Operations, eg.
"foo".insertOp
anddeleteOp
that is accessible viaimport Operation.syntax._