syntax

kofre.datatypes.LastWriterWins.syntax
implicit class syntax[C, A](container: C) extends OpsSyntaxHelper[C, LastWriterWins[A]]

Attributes

Graph
Supertypes
trait OpsTypes[C, LastWriterWins[A]]
class Object
trait Matchable
class Any

Members list

Type members

Inherited types

final type CausalMutate = PermCausalMutate ?=> C

Attributes

Inherited from:
OpsTypes
final type IdMutate = ReplicaId ?=> Mutate

Attributes

Inherited from:
OpsTypes
final type Mutate = PermMutate ?=> C

Attributes

Inherited from:
OpsTypes
final type PermCausalMutate = PermCausalMutate[C, L]

Attributes

Inherited from:
OpsTypes
final type PermMutate = PermMutate[C, L]

Attributes

Inherited from:
OpsTypes
final type PermQuery = PermQuery[C, L]

Attributes

Inherited from:
OpsTypes

Value members

Concrete methods

def map[B](using PermMutate)(using ev: A =:= Option[B])(f: B => B): C
def read(using PermQuery): A
def write(v: A): Mutate

Extensions

Inherited extensions

extension [A](a: A)

Attributes

Inherited from:
OpsSyntaxHelper
extension (l: LastWriterWins[A])

Attributes

Inherited from:
OpsSyntaxHelper
extension (l: Dotted[LastWriterWins[A]])(using perm: PermCausalMutate)
def mutator: C

Attributes

Inherited from:
OpsSyntaxHelper