Wonkey types weakref
wonkey:wonkey.types.WeakRef
Class WeakRef#
Weak reference class.
A weak reference is an object that contains a reference to another object, but without preventing the other object from being garbage collected.
The Target property returns the object being referenced, or null if the object has been garbage collected.
A weak reference must be contructed with the object it references.
Constructors | |
---|---|
New |
Properties | |
---|---|
Target | (read only) |