Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool[T any] struct { // contains filtered or unexported fields }
Pool represents a generic pool of resources.
func (*Pool[T]) Close ¶
func (s *Pool[T]) Close(releaseFunc func(T))
Close shuts down the pool and releases all resources.
Click to show internal directories.
Click to hide internal directories.