remember static method

dynamic remember(
  1. dynamic key,
  2. dynamic value, [
  3. dynamic session
])

Stores a value in the cache for later retrival using key.

  • key - the identifier that you will use to reference the stored value
  • value - the Object to be stored in the cache
  • session - optional second key used to partition the cache

Implementation

static remember(key, value, [session]) => _lookupCache(session)[key] = value;