update

abstract fun update(entity: E)

Updates an existing entity.

Parameters

entity

the entity with updated state.