Skip to content

req_perform_parallel() string parameter not working since version 1.1.1 #726

Description

@Eli-Berkow

With version 1.1.0 and prior, the following example works with a string for the progress parameter:

library(shiny)
library(httr2)

ui <- fluidPage(
    htmlOutput('resps')
)

server <- function(input, output, session) {
    output$resps <- renderUI({
        request_base <- request(example_url())
        reqs <- list(
            request_base |> req_url_path("/delay/1"),
            request_base |> req_url_path("/delay/1")
        )
        parallel_progress=req_perform_parallel(reqs, progress = 'Running')
        HTML('done')
        })
}

shinyApp(ui, server)

Image

Replacing the string 'Running' with TRUE gives the below default:

Image

From version 1.1.1 there is no progress bar at all for strings and the following shows for the default TRUE option:

Image

Has there been a change in the way that parameter is used?
Thanks in advance

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions