Label used when start is called without one.
Opens an indeterminate-progress announcement.
Optionalmessage: string
Label describing the work; defaults to the last label set.
Retained for call-site compatibility. Elapsed time is now the renderer's to measure and display, since only the renderer knows whether it can show a live counter at all.
Closes the announcement.
Retained for call-site compatibility. Whether closing erases anything is a rendering decision.
Revises the label of an open announcement.
The label to show from now on.
Announces indeterminate progress for async work.
startopens an announcement,updateMessagerevises its label, andstopcloses it. Only state changes cross the wire: a spin that lasts a minute costs two events, not one per animation frame.