weak method
Creates a managed weak reference.
Implementation
LazyWeakReference<T> weak(T target) {
var ref = LazyWeakReference<T>._weak(
++_refIdCount,
this,
target,
unixTimeMs,
);
_handleNewWeakRef(ref);
return ref;
}
Creates a managed weak reference.
LazyWeakReference<T> weak(T target) {
var ref = LazyWeakReference<T>._weak(
++_refIdCount,
this,
target,
unixTimeMs,
);
_handleNewWeakRef(ref);
return ref;
}