package
0.0.0-20241226145920-483c662f7ff1
Repository: https://github.com/pingooio/stdx.git
Documentation: pkg.go.dev

# Functions

Creates a new concurrent map.
Creates a new concurrent map.
Creates a new concurrent map.

# Variables

No description provided by the author

# Structs

A "thread" safe map of type string:Anything.
A "thread" safe string to anything map.
Used by the Iter & IterBuffered functions to wrap two variables together over a channel,.

# Interfaces

No description provided by the author

# Type aliases

Iterator callbacalled for every key,value found in maps.
RemoveCb is a callback executed in a map.RemoveCb() call, while Lock is held If returns true, the element will be removed from the map.
Callback to return new element to be inserted into the map It is called while lock is held, therefore it MUST NOT try to access other keys in same map, as it can lead to deadlock since Go sync.RWLock is not reentrant.