cached abstract method

  1. @override
SharedMapCached<K, V> cached({
  1. Duration? timeout,
})
override

Returns a cached version of this instance.

Note that SharedMapSync implementations could return a fake cache implementation (not cached), as a SharedMapSync instance could be the primary instance responsible for storing entries.

Implementation

@override
SharedMapCached<K, V> cached({Duration? timeout});