## Not run:
# ws <- netWorkSpace('nws example')
# nwsStore(ws, 'x', 1)
# nwsStore(ws, 'x', 2)
# it <- nwsIFind(ws, 'x')
# it() # returns the value 1
# it() # returns the value 2
# it() # blocks until another process stores a value in the variable
# ## End(Not run)
Run the code above in your browser using DataLab