An extractor for weak reference values
Creates a weak reference pointing tovalue
value
Optionally returns the referenced value, orNone if that value no longer exists
None