clearType

abstract suspend fun clearType(type: String): Long(source)

Removes type from every object that has it, as one atomic change, and returns how many objects lost it; returns once the change is acknowledged. Every object that has the type when the change is applied loses it, so none of those typed by operations acknowledged before the call keeps it. The name stays in listTypes. The call holds 32 bytes per object of the type while it runs. Throws InvalidTypeNameException for an invalid name.