lastProcessedEventId

abstract suspend fun lastProcessedEventId(): Either<StorageFailure, String>

Retrieves the last processed event ID from the storage.

Return

an Either object representing either a StorageFailure or a String. - If the retrieval is successful, returns Either.Right with the last processed event ID as a String. - If there is a failure during retrieval, returns Either.Left with a StorageFailure object.