Sometimes it is desirable to share immutable data between different event loops, for example to implement a cache of data.
This class allows instances of shared data structures to be looked up and used from different event loops.
The data structures themselves will only allow certain data types to be stored into them. This shields you from worrying about any thread safety issues might occur if mutable objects were shared between event loops.
The following types can be stored in a shareddata data structure:
Instances of this class are thread-safe.
no subtypes hierarchy
|Attributes inherited from: |
Remove the map with the specific
Remove the set with the specific
|Methods inherited from: |