shinyQueue {ipc}R 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.


[Package ipc version 0.1.4 Index]