RPC like emitting of events.
Dispose all tracked entries
Counter that incremends, each time dispose has been called
Add child progress, which count into its parents units. On dispose it will auto remove itself from parent.
Notify and mark as cancelled. May take some time before having an effect.
Emits an event to all subscribers and executes their corresponding event handlers.
A promise that resolves to a boolean indicating whether the event was successfully emitted.
Emits an event to all subscribers and executes their corresponding event handlers.
A promise that resolves to the result of the first subscriber's handler, or undefined if no subscribers are present.
Emits an event to all subscribers and executes their corresponding event handlers.
A promise that resolves to an array of results from all subscribers, or undefined if no subscribers are present.
Completed units including children
Value from 0 to 1, where 1 is 100% completeness.
Total units including children
Dynamically change completed units.
Relatively change total units.
Either disposed or all units completed.
Cannot calculate progress, because totalUnits are missing. Special representation in UI.
Fresh start
Set to 100% without disposing.
Set fixed number of completed units.
Change total units.
OptionalcompletedUnits: numberProgress tree to string for debuggin purposes. Consider using name attribute of Progress.
Progress helper with these properties:
totalUnitsandcompletedUnitsfor progressdisposechild removes itself from parent.