shared_map 1.1.2 shared_map: ^1.1.2 copied to clipboard
Offers a versatile, synchronized Map for efficient sharing between Dart application parts, including Isolates or external apps.
1.1.2 #
- New
SharedObjectReferenceable
:SharedObject
+ReferenceableType
SharedObjectIsolate
now implementsSharedObjectReferenceable<R>
.- New
SharedReferenceIsolate
. - New
SharedFieldInstanceHandler
andSharedObjectField
. SharedStoreField
andSharedMapField
:- Now extends
SharedObjectField
to reuseSharedObjectField
implementation.
- Now extends
ReferenceableType
:- Added
getSharedObject
,getOrCreateSharedObject
anddisposeSharedObject
.
- Added
- Improve documentation.
1.1.1 #
SharedStoreIsolateAuxiliary
: fix initialization.
1.1.0 #
-
Expose
SharedObject
implementation usingIsolate
:SharedObjectIsolate
:- Implementations:
SharedObjectIsolateMain
andSharedObjectIsolateAuxiliary
.
- Implementations:
- New
SharedObjectIsolateMessage
.- Implementations:
SharedObjectIsolateRequestMessage
andSharedObjectIsolateResponseMessage
.
- Implementations:
-
New libraries:
- 'package:shared_map/shared_object.dart'
- 'package:shared_map/shared_object_isolate.dart'
-
SharedObject
:- Renamed
isIsolateCopy
toisAuxiliaryInstance
.
- Renamed
-
Renamed
SharedType
toReferenceableType
. -
Renamed
SharedStoreIsolateServer
toSharedStoreIsolateMain
. -
Renamed
SharedStoreIsolateClient
toSharedStoreIsolateAuxiliary
. -
Renamed
SharedMapIsolateServer
toSharedMapIsolateMain
. -
Renamed
SharedMapIsolateClient
toSharedMapIsolateAuxiliary
.
1.0.10 #
-
SharedMapCached
:- Introduces async call caching for
get
,keys
,values
,entries
andlength
operations, to avoid simultaneous asynchronous calls (fetching) for the same operation.
- Introduces async call caching for
-
SharedStoreIsolateServer
:- Fix call to
getSharedMap<K,V>()
with correctK
andV
casting when requested bySharedStoreIsolateClient
.
- Fix call to
-
Improve
SharedMap.toString
implementations.
1.0.9 #
SharedMap
:- added
onPut
andonRemove
.
- added
1.0.8 #
SharedMap
:- Added
values
,entries
andwhere
.
- Added
1.0.7 #
SharedMap
:- Added
clear
.
- Added
- New
FutureSharedMapExtension
andFutureOrSharedMapExtension
.
1.0.6 #
-
New
NotSharedMap
,NotSharedStore
andSharedMapSync
. -
Refactored
SharedMapField
andSharedStoreField
:- Handle non-shared and shared instances appropriately.
- Improved handling of isolate copies and shared references for better consistency across isolates.
-
SharedMap
:- Improved resolution and caching mechanisms to enhance performance and reduce redundant operations.
1.0.5 #
- New
SharedStoreField
.
1.0.4 #
SharedMap
:- Added
keys
,length
,remove
andremoveAll
.
- Added
1.0.3 #
- New
SharedMapCached
. - Fix
SharedStoreGeneric
andSharedMapGeneric
. - Improve tests for
SharedStoreGeneric
andSharedMapGeneric
.
1.0.2 #
SharedMap
:- Added
putIfAbsent
.
- Added
SharedType
:- Rename
shareReference
tosharedReference
.
- Rename
1.0.1 #
- Add documentation.
1.0.0 #
- Initial version.