Adds the data to the cache (or return the cached element, if cache
is true).
The data to add.
If the data should be cached (or cached data patched), true
by default.
The resolved data.
Fetches the data from Pi Network APIs (or return the cached element, if cache
is true).
The data's key (id, etc.).
If the data should be cached (or cached data patched), true
by default.
If the cached data should be returned (if it exists) rather than fetching the data, true
by default.
The the fetched (or cached) data, or undefined
if not found.
Resolves the data by its key from the cache.
The data's key (id, etc.).
The cached data or undefined
if not found.
Generated using TypeDoc
The cache of the manager.