clearHistoryIfLastEventEquals

suspend fun clearHistoryIfLastEventEquals(event: Event): Boolean

Clears the whole storage if this event is the one added most recently.

Return

True if this event was the one added most recently and the storage was cleared. False otherwise.