quite strange behaviour, no idea how to handle it - sorry the code is not reproducible, but basically on Shiny Pro i have a global variable to check what items are being processed. All users read and write from the list to avoid duplication. It is correctly placed above the Shiny Server
if (!exists("taken")) taken = list()
shinyServer(function(input, output, session) {...
the calls to the list and updates are handled as they should (with <<-) yet it sometimes fails to scope it globally. Even when I open 2 instances for the same user not always they see the list, even less often if I open 2 different users instances. But they sometimes can see the list after few records, it just catches up. If it was every time I could understand, but not occasional. Of course when a user does not see the list they create their own instance of the list.
How do you handle a shared items list that all users update and read from? Would you just use the same method or are there any better, more fool proof concepts?