Skip to main content

EntityChange

This enum describes the changes to a certain item when observing it.

public enum EntityChange<Item> 

Inheritance

CustomStringConvertible

Enumeration Cases

create

The item was created or the recent changes to it make it match the predicate of the observer.

case create(_ item: Item)

update

The item was updated.

case update(_ item: Item)

remove

The item was deleted or it no longer matches the predicate of the observer.

case remove(_ item: Item)

Properties

description

Returns pretty EntityChange description

public var description: String 

Did you find this page helpful?