ChunkPatch

sealed trait ChunkPatch[Value, Patch]

A patch which describes updates to a chunk of values.

Companion:
object
class Object
trait Matchable
class Any
ChunkPatch[Value, Patch]

Value members

Concrete methods

def apply(oldValue: Chunk[Value])(differ: Differ[Value, Patch]): Chunk[Value]

Applies a chunk patch to a chunk of values to produce a new chunk of values which represents the original chunk of values updated with the changes described by this patch.

Applies a chunk patch to a chunk of values to produce a new chunk of values which represents the original chunk of values updated with the changes described by this patch.

def combine(that: ChunkPatch[Value, Patch]): ChunkPatch[Value, Patch]

Combines two chunk patches to produce a new chunk patch that describes applying their changes sequentially.

Combines two chunk patches to produce a new chunk patch that describes applying their changes sequentially.