Documentation
¶
Overview ¶
Package syncx provides synchronized concurrent-safe data structures.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Map ¶
type Map[K comparable, V any] struct { // contains filtered or unexported fields }
func (*Map[K, V]) LoadAndDelete ¶ added in v0.92.0
LoadAndDelete atomically retrieves and removes the value for the given key. It returns the value (if loaded) and whether it was loaded.
Click to show internal directories.
Click to hide internal directories.