https://netsuiteprofessionals.com logo
Title
a

amy

03/21/2019, 7:57 PM
relevant segment of my code for clarity.
j

jkabot

03/21/2019, 9:08 PM
The signature for loader function is an object like this
function loader(context) {
  var key = context.key;
}
This lets you predefine the loader function once, separate from the code that uses cache.get
a

amy

03/21/2019, 10:11 PM
sweet, thanks!