How can I asynchronously call some API in SFCC?
Ans: Salesforce Commerce Cloud API don't support async. You can use ajax for anything client side that you want ($.ajax or fetch()). The SFCC server will always handle that call and any code it runs on the server synchronously).
SFCC uses rhino engine 1.7R5. on the link Rhino Engine Features, you can see what ES features are supported by SFCC.
Ans: Salesforce Commerce Cloud API don't support async. You can use ajax for anything client side that you want ($.ajax or fetch()). The SFCC server will always handle that call and any code it runs on the server synchronously).
SFCC uses rhino engine 1.7R5. on the link Rhino Engine Features, you can see what ES features are supported by SFCC.
Comments
Post a Comment