package
Version:
v3.0.7
Opens a new window with list of versions in this module.
Published: Dec 24, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Pool interface {
Get() interface{}
Put(x interface{})
}
Pool is an interface matching Go's sync.Pool. We delegate normally but reimplement for TinyGo
since it does not have a pooling implementation.
func NewPool(new func() interface{}) Pool
Source Files
¶
Click to show internal directories.
Click to hide internal directories.