A pipeline owns a bounded FIFO of whole chunks and an ordered callback
graph. Processing occurs synchronously on the caller's R thread. The runtime
environment is not portable; use pipelineState() for a hashed plain-state
snapshot.
Usage
streamPipeline(
source = NULL,
chunk_size = 32L,
queue_capacity = 64L,
backpressure = c("error", "drop_oldest", "drop_newest"),
latency_budget_ms = 50
)Examples
pipeline <- streamPipeline(chunk_size = 8L)
pipelineState(pipeline)$configuration$chunk_size
#> [1] 8