relevant segment of my code for clarity.
# suitescript
a
relevant segment of my code for clarity.
j
The signature for loader function is an object like this
Copy code
function loader(context) {
  var key = context.key;
}
This lets you predefine the loader function once, separate from the code that uses cache.get
a
sweet, thanks!