ChunkPatch

zio.Differ$.ChunkPatch
See theChunkPatch companion object
sealed trait ChunkPatch[Value, Patch]

A patch which describes updates to a chunk of values.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ChunkPatch[Value, Patch]

Members list

Concise view

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.

Attributes

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.

Attributes