I see two main methods:
1. getPropositions() - This API retrieves the previously fetched propositions, for the provided decision scopes, from the in-memory extension propositions cache.
As I understand its not new request but it takes what is already in Cache? Does it also include capping?
2. updatePropositionsWithCompletionHandler() - this one gets propositions if there is nothing in Cache?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Yes, you’re right.
getPropositions() allows re-rendering of propositions that were already rendered using the sendEvent command (it doesn’t make a new network call).
updatePropositionsWithCompletionHandler() fetches fetch decision propositions, the returned decision propositions are cached in-memory which can be retrieved using getPropositions.
Views
Replies
Total Likes
Yes, you’re right.
getPropositions() allows re-rendering of propositions that were already rendered using the sendEvent command (it doesn’t make a new network call).
updatePropositionsWithCompletionHandler() fetches fetch decision propositions, the returned decision propositions are cached in-memory which can be retrieved using getPropositions.
Views
Replies
Total Likes