Adds the trade to the cache (or return the cached trade, if cache
is true).
The trade to add.
If the trade should be cached (or cached trade patched), true
by default.
The resolved trade.
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.