unsetReactiveByUid: Unset Reactive Object (generic)

Description Usage Arguments Implications with respect objects depending on this object Note Author(s) References See Also Examples

Description

Removes the reactive character from an object, i.e. its binding(s) to other objects and the ability for other objects to have bindings to it. It is equivalent to transforming the object to one that has been assigned via assign or <- instead of setReactive and thus in turn by makeActiveBinding.

Note that it is not equivalent to removing/deleting the object! See rmReactive for this purpose.

Usage

1

Arguments

uid

Signature argument. Object containing UID information.

...

Further arguments to be passed to subsequent functions/methods.

Implications with respect objects depending on this object

If other reactive objects have been relying on this reactive variable, from this point on they will simply return the last value that has been cached. So there is no actual reactive binding anymore.

Note

The main S4 method is unsetReactiveByUid-character-method.

Author(s)

Janko Thyson janko.thyson@rappster.de

References

http://github.com/Rappster/reactr

See Also

unsetReactiveByUid-character-method, unsetReactive

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 

setReactive(id = "x_1", value = 10)
unsetReactiveByUid(uid = computeObjectUid("x_1"))
isReactive("x_1")

## Clean up //
rmReactive("x_1")


## End(Not run)

rappster/reactr documentation built on May 26, 2019, 11:56 p.m.