UseWeakReference exists for addEventListener and for dictionaries. Is there any way to set a variable to be a weak reference? Kind of like WkPtr<> in boost for C++? I'd like to use this for function callbacks, amongst other things. Would hate to have to wrap everything in a dictionary as a hack.
AddEventListener effectively sets up a callback.
Not quite what I was hoping for as an answer, but it's an answer nonetheless.