It derives from <GObject>.
JSCWeakValue represents a weak reference to a value in a
<JSCContext>. It can be used to keep a reference
to a JavaScript value without protecting it from being garbage collected
and without referencing the <JSCContext> either.
The <JSCValue> referencing the JavaScript value.
Its value is a <JSCValue>, or #f.
It can only be set when the object is made, with #:value. It
cannot be read.
Get a <JSCValue> referencing the JavaScript value of
self.
Passed: a <JSCWeakValue>.
Returned: a <JSCValue>.
a new <JSCValue> or #f if self was
cleared.
Create a new <JSCWeakValue> for the JavaScript
value referenced by value.
Passed: a <JSCValue>.
Returned: a <JSCWeakValue>.
a new <JSCWeakValue>
Connect a handler with (connect object weak-value:cleared
handler). It is called as (handler self).
This signal is emitted when the JavaScript value is destroyed.
Passed: a <JSCWeakValue>.