invalidate()
in order to re-evaluate the contents using the
function.
Several modules have their own wrapper of this, e.g. Core has the
OpModeLazyCell
and OpModeFreshLazyCell
and Mercurial has the
SubsytemObjectCell
. These wrappers provide additional functionality tied to
their specific domains.
self
parameter, as this
will cause stack overflow, this is what the contents
parameter is for.