shinyQueue: Create a Queue object

View source: R/queue.R

shinyQueueR Documentation

Create a Queue object

Description

Create a Queue object

Usage

shinyQueue(
  source = defaultSource()$new(),
  producer = ShinyProducer$new(source),
  consumer = ShinyConsumer$new(source),
  session = shiny::getDefaultReactiveDomain()
)

Arguments

source

The source for reading and writing the queue

producer

The producer for the source

consumer

The consumer of the source

session

A Shiny session

Details

Creates a Queue object for use with shiny, backed by ShinyTextSource, ShiyProducer and ShinyConsumer objects by default. The object will be cleaned up and destroyed on session end.


ipc documentation built on Feb. 16, 2023, 6:01 p.m.