Assign a new value to this Erc.
The old value will be freed, and all weak references will be invalidated.
Free the underlying object.
All weak references will be immediately invalidated, and this Erc becomes empty. Awaiting on the promise will ensure that the object is freed externally
Create a strong reference to the inner value, essentially incrementing the ref count.
Create a weak reference to the inner value.
When this Erc is freed, all weak references will be invalidated.
Take the inner value without freeing it.
All weak references will be invalidated, and this Erc will become empty
Readonly
typeReadonly
valueUnderlying object representation.
The repr should not be undefinable. undefined means nullptr
A holder for an externally ref-counted object, where free and addref operations are asynchronous.
See makeErcType for how to use