Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LazySyncMap ¶
type LazySyncMap[K comparable, V any] sync.Map
func (*LazySyncMap[K, V]) LazyLoad ¶ added in v1.2.0
func (m *LazySyncMap[K, V]) LazyLoad(key K, f func() (V, error)) (V, error)
Click to show internal directories.
Click to hide internal directories.