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.


fellstat/ipc documentation built on Feb. 13, 2023, 7:45 p.m.