sendInfoText | R Documentation |
During a slow remote procedure call, call this to inform the client of progress.
sendInfoText(text)
text |
The text to send |
No return value
sendProgress
for sending a progress completion
ratio to the user.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.