MCPcopy Index your code
hub / github.com/MALSync/MALSync / getPredictionTimestamp

Method getPredictionTimestamp

src/utils/progress.ts:39–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 }
38
39 getPredictionTimestamp() {
40 const progressPrediction = this.getProgressPrediction();
41 if (!progressPrediction || new Date().getTime() > progressPrediction) return NaN;
42 return progressPrediction;
43 }
44
45 getPrediction() {
46 const timestamp = Number(this.getPredictionTimestamp());

Callers 4

getPredictionMethod · 0.95
getPredictionTextMethod · 0.95
orderItemsFunction · 0.80
sortItemsByPredictionFunction · 0.80

Calls 1

getProgressPredictionMethod · 0.95

Tested by

no test coverage detected