Ref16
Constructors
Models
Getters
Mutations
getAndSetconstGets the current value of the Ref, sets it to the specified value, and returns the previous value atomically.getAndUpdateconstGets the current value of the Ref, updates it with the given function, and returns the previous value atomically.getAndUpdateSomeconstGets the current value of the Ref and updates it atomically with the given partial function.setAndGetconstSets the value of the Ref atomically to the specified value and returns the new value.updateAndGetconstUpdates the value of the Ref atomically using the given function and returns the new value.updateSomeAndGetconstUpdates the value of the Ref atomically using the given partial function and returns the current value.Setters
modifyconstModifies the value of the Ref atomically using the given function.modifySomeconstComputes a result atomically and optionally updates the value of the Ref.setconstSets the value of the Ref to the specified value.updateconstUpdates the value of the Ref atomically using the given function.updateSomeconstUpdates the value of the Ref atomically using the given partial function.