View source: R/har_online_sources.R
| har_simulated_collector | R Documentation |
Reference collector that replays an in-memory vector, matrix, or data frame
one observation at a time. It lets a har_source_kafka() run end-to-end
without a broker, and is the template for a real-broker collector.
har_simulated_collector(data)
data |
Numeric vector, matrix, or data frame in time order. |
A har_simulated_collector object exposing get_next()/close().
collector <- har_simulated_collector(c(10, 11, 12))
collector$get_next()
collector$get_next()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.