Holds a map from devices to values.
Holds a map from devices to variables.
Represents a synchronous value mirrored among multiple devices.
Holds a map from devices to synchronized variables.
Represents a asynchronous value distributed among multiple devices.
Holds a map from devices to variables whose values are reduced on save.
Holds a map from devices to synchronized variables.
NOTE: We use
MirroredVariable.getUpdateDevice
for the assignment methods to enforce that we are in anupdate
scope. The arguments toupdate()
are automatically unwrapped and so theupdate()
function would normally see regular variables and not mirrored variables. However, theupdate()
function can still operate on wrapped mirrored variables through object members, captured arguments, etc. This is more likely in anupdateNonSlot()
scope, which can update several non-slot variables in one call.