View source: R/pubsub_dataset.R
This creates a dataset for consuming PubSub messages.
1 | pubsub_dataset(subscriptions, server = NULL, eof = FALSE, timeout = 1000)
|
subscriptions |
A |
server |
The pubsub server. |
eof |
If True, the pubsub reader will stop on EOF. |
timeout |
The timeout value for the PubSub to wait (in millisecond). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.