MCPcopy Create free account
hub / github.com/monitoror/monitoror / progress

Function progress

ui/src/classes/monitororTile.ts:182–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

180 }
181
182 get progress(): number | undefined {
183 if (this.duration === undefined || this.estimatedDuration === undefined) {
184 return
185 }
186
187 const progress = this.duration / this.estimatedDuration * 100
188
189 return progress
190 }
191
192 get progressTime(): string | undefined {
193 if (!this.progress || this.estimatedDuration === undefined || this.duration === undefined) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected