Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WaitMap ¶
WaitMap is a key-value store that enables not only setting and getting values from a map, but also waiting until value for a key becomes available. Important: Since this implementation is tied pretty closely to how it will be used, (as an internal package), it has the peculiar behavior of only the first `Set` setting the value. Subsequent `Sets()` are recorded, but don't change the returned value.
func (*WaitMap) Set ¶
Set sets the value for a key. If the value already exists, we append it to a list.
Click to show internal directories.
Click to hide internal directories.