preloaded() methods. Refer to preloading resources to learn more about how preloading works and when to use it.
Parameters
An array with one or multiple resource keys. Customer-specific resource keys can only be included when a customer is already logged-in.
Returns
This method returns aPromise that:
- On success, resolves to void.
- On failure, rejects with an error object.
Promise will be rejected.