clear

abstract suspend fun clear(taskId: String)

Deletes all persisted events for the given task ID. Call after a task is explicitly cancelled or removed.