← effectScopedRef6Constructors2Models1Getters2Setters1ConstructorsfromAcquireconstCreates a new ScopedRef from an effect that acquires the initial value.makeconstCreates a new ScopedRef from the specified value.ModelsScopedRefinterfaceA ScopedRef is a reference whose value is associated with resources, which must be released properly.GettersgetconstRetrieves the current value of the scoped reference effectfully.getUnsafeconstRetrieves the current value of the scoped reference synchronously.SetterssetconstSets the value of this reference to a newly acquired scoped value, releasing any resources associated with the old value.