Versions in this module Expand all Collapse all v0 v0.1.0 Dec 15, 2024 Changes in this version + type ClonePool struct + func NewClonePool() *ClonePool + func (p *ClonePool) ExtractAllMarkedFinalize() []Value + func (p *ClonePool) ExtractAllMarkedRelease() []Value + func (p *ClonePool) ExtractPendingFinalize() []Value + func (p *ClonePool) ExtractPendingRelease() []Value + func (p *ClonePool) Get(v Value) WeakRef + func (p *ClonePool) Mark(v Value, flags MarkFlags) + type Key interface + type MarkFlags uint8 + const Finalize + const Release + type Pool interface + ExtractAllMarkedFinalize func() []Value + ExtractAllMarkedRelease func() []Value + ExtractPendingFinalize func() []Value + ExtractPendingRelease func() []Value + Get func(v Value) WeakRef + Mark func(v Value, flags MarkFlags) + func NewDefaultPool() Pool + type SafePool struct + func NewSafePool() *SafePool + func (p *SafePool) ExtractAllMarkedFinalize() []Value + func (p *SafePool) ExtractAllMarkedRelease() []Value + func (p *SafePool) ExtractPendingFinalize() []Value + func (p *SafePool) ExtractPendingRelease() []Value + func (p *SafePool) Get(v Value) WeakRef + func (p *SafePool) Mark(v Value, flags MarkFlags) + type UnsafePool struct + func NewUnsafePool() *UnsafePool + func (p *UnsafePool) ExtractAllMarkedFinalize() []Value + func (p *UnsafePool) ExtractAllMarkedRelease() []Value + func (p *UnsafePool) ExtractPendingFinalize() []Value + func (p *UnsafePool) ExtractPendingRelease() []Value + func (p *UnsafePool) Get(v Value) WeakRef + func (p *UnsafePool) Mark(v Value, flags MarkFlags) + type Value interface + Clone func() Value + Key func() Key + type WeakRef interface + Value func() Value