So if your `rc` scope has `email`, `password`, and...
# box-products
e
So if your
rc
scope has
email
,
password
, and
rememberMe
, those are the options you can pass to
persist
.
n
thank you, sir. 🙂
Tho for the record, the docs on that page only mention "request collection". There's no mentio of 'persist' doing anything with PRC data.
e
You can pass any struct to the
persistStruct
argument.
n
I believe you, but this is the only mention of it on the doc page, which implies (to my team anyway) that "rc" is the only struct getting checked. My 2 cents. @persist What request collection keys to persist in flash ram @persistStruct A structure key-value pairs to persist in flash ram
e
You are correct.
persist
only checks the
rc
(request collection). If you want to pass keys from anywhere else (including the
prc
) create a struct to pass to
persistStruct
that has the keys and values you are interested in.