Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPool = NewPool(&jot.Logger{})
DefaultPool is a global default soft reference pool.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool is used to track soft references to resources.
func NewPool ¶
func NewPool(logger logadapter.WarnLogger) *Pool
NewPool creates a new soft reference pool. 'logger' may be nil.
Click to show internal directories.
Click to hide internal directories.