clearEntities

abstract suspend fun <T : Any> clearEntities(clazz: KClass<T>)

Removes all stored entities of type T.

Parameters

clazz

The KClass of the entity type.

Type Parameters

T

The entity type (must be annotated with @Entity).