MAIDR JavaScript API
    Preparing search index...

    Type Alias LiveCommandOutcome

    LiveCommandOutcome:
        | "now"
        | "unavailable"
        | "blocked"
        | "queued"
        | "held"
        | "kept"
        | "full"

    What became of a command a caller asked a chart to run, as LiveCommandChannel.run reports it.

    • now: run at once, through the chart's own command executor, as the reader's key for it runs there.
    • unavailable: the reader is in the chart, but the scope they are in has no key for the command -- the multi-panel lobby has no autoplay, say -- or the key would silently do nothing there.
    • blocked: a MAIDR dialog, text field or label chord is open in the chart, whether or not the page has the browser's focus. Nothing ran, and nothing was kept.
    • queued: the reader is in the chart, but their entry is still running the commands kept for them -- or has just started to, for a reader LiveCommandOptions.focus brought in. The command runs in turn, after any target kept for them and any command before it, half a second after the announcement before it.
    • held: as queued, but a target kept for the reader still waits -- their braille field, reopened on their return, holds it -- and the command waits behind it, until they close braille. A toggle of braille never waits so: it runs first, since it is what closes braille.
    • kept: the reader is not in the chart. The command runs the next time they enter it, after any target kept for them and any command kept before it.
    • full: as many commands as the chart keeps are already waiting.