mise API - v0.0.0
    Preparing search index...

    Class Spinner

    Announces indeterminate progress for async work.

    start opens an announcement, updateMessage revises its label, and stop closes it. Only state changes cross the wire: a spin that lasts a minute costs two events, not one per animation frame.

    Index
    • Opens an indeterminate-progress announcement.

      Parameters

      • Optionalmessage: string

        Label describing the work; defaults to the last label set.

      • _showTiming: boolean = false

        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.

      Returns void

    • Closes the announcement.

      Parameters

      • _clearLine: boolean = true

        Retained for call-site compatibility. Whether closing erases anything is a rendering decision.

      Returns void

    • Revises the label of an open announcement.

      Parameters

      • newMessage: string

        The label to show from now on.

      Returns void