@posit-dev/shinyreact
    Preparing search index...

    Function useShinyBusy

    • A React hook that tracks whether the Shiny server is currently busy.

      Reads from a shared lifecycle store (see lifecycle-store.ts) so all consumers on the page share a single pair of shiny:busy / shiny:idle DOM listeners. Returns false initially, flips to true while a request is in flight, and back to false when the server goes idle.

      Returns boolean

      A boolean indicating whether the Shiny server is currently busy.