sendInfoText {shinylight}R Documentation

Sends informational text to the client.

Description

During a slow remote procedure call, call this to inform the client of progress.

Usage

sendInfoText(text)

Arguments

text

The text to send

Value

No return value

See Also

sendProgress for sending a progress completion ratio to the user.

Examples

server <- slServer(
  port = 50051,
  interface = list(long_and_complicated = function(x) {
    # First part of work that takes some time
    # ...
    sendInfoText("We are about half way through")
    # Second part of work that takes some time
    # ...
  })
)
# ...
slStop(server)

[Package shinylight version 1.2 Index]