View Source WeakRef (WeakRef v1.0.3)

Summary

Functions

Creates a new weak reference which will send :DOWN to self() when garbage collected

Creates a new weak reference which will send :DOWN to the given owner pid when garbage collected

Functions

Creates a new weak reference which will send :DOWN to self() when garbage collected

Returns a tuple of {ref, id} where ref is the reference and id is the id of the reference.

Creates a new weak reference which will send :DOWN to the given owner pid when garbage collected

Returns a tuple of {ref, id} where ref is the reference and id is the id of the reference.