(totalEpochs, currentEpoch, completed)
| 405 | } |
| 406 | |
| 407 | function makeMetadata(totalEpochs, currentEpoch, completed) { |
| 408 | return { |
| 409 | totalEpochs, |
| 410 | currentEpoch, |
| 411 | completed, |
| 412 | lastUpdated: new Date().getTime() |
| 413 | } |
| 414 | } |
| 415 | |
| 416 | async function run() { |
| 417 | const args = parseArguments(); |