rollup.progress
Reports the application's progress through the current request to the outside world. Useful for long computations, so operators watching the machine can tell it is alive and how far along it is.
Usage
for (const [, ] of .()) {
();
.(.((( + 1) / .) * 1000));
}Returns
void
Parameters
value
- Type:
number - Required
Raw uint32 progress value. The scale is application-defined — permille (as above) is a common convention.
Errors
| Condition | Error |
|---|---|
| Underlying libcmt failure | RollupError with negative errno |