removeAll

fun removeAll()

Removes all instances from the resource.

Throws

IllegalStateException

If this resource is closed or invalid.