Create a Queue object
shinyQueue(
source = defaultSource()$new(),
producer = ShinyProducer$new(source),
consumer = ShinyConsumer$new(source),
session = shiny::getDefaultReactiveDomain()
)
The source for reading and writing the queue
The producer for the source
The consumer of the source
A Shiny session
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.