blob: 5d524e44c97ec876e85eedf502306961974eb5ce [file] [log] [blame]
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/logging.R
\name{calculate_eta}
\alias{calculate_eta}
\title{Calculate and format ETA for batch operations}
\usage{
calculate_eta(current_item, total_items, start_time)
}
\arguments{
\item{current_item}{current item number (1-based)}
\item{total_items}{total number of items to process}
\item{start_time}{POSIXct start time of the operation}
}
\value{
character string with formatted ETA and completion time or empty string if not calculable
}
\description{
Helper function to calculate estimated time of arrival based on elapsed time
and progress through a batch operation.
}
\keyword{internal}