export class TimeLeft {
No description provided.
Target style API. Preferred for new code.
Members
6 itemsTarget Style
Target Style
record(timeRange) {
/** Records one processed item duration.
averageFor({ itemsLeft }) {
/** Estimates the remaining time using the average duration.
medianFor({ itemsLeft }) {
/** Estimates the remaining time using the median duration.
Legacy Style
Legacy Style
add(timerange) {
/** Records one processed item duration.
getAverage(itemsLeft) {
/** Estimates the remaining time using the average duration.
getMedian(itemsLeft) {
/** Estimates the remaining time using the median duration.