mizu: Single-Producer Single-Consumer Channels
Provides a single-producer single-consumer channel with
bounded capacity, optional timeouts on receives, and sentinel return
values for full, timeout, and closed states. The ring buffer is
implemented in C: sends and receives are constant-time operations,
values are delivered in first-in first-out order, and a closed channel
drains its buffered values before reporting the closed state. The
transport is in-process: both ends of a channel live in the calling R
process, which suits the channel to prototyping producer and consumer
designs and to testing channel-based logic.
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=mizu
to link to this page.