If this Px contains a function, it can be extracted and the Px dropped from the signature.
If this Px contains a function, it can be extracted and the Px dropped from the signature. Every time the function
is invoked it will use the latest value of this Px
, even if you don't explicitly hold a reference to it anymore.
Example. From a Px[Int => String]
, an Int => String
can be extracted.
Get the last used value without updating.
Revision of its value.
Get the latest value, updating itself if necessary.
In addition to updating when the underlying Px
changes, this will also check its own result and halt updates
if reusable.
In addition to updating when the underlying Px
changes, this will also check its own result and halt updates
if reusable.
(Since version 1.0.0) Use .withReuse
A
Px[B]
dependent on the value of somePx[A]
.