Hi Could you please help me out like how to write the entries by referring above code.
My widget needs to be refreshed(need to hit the api and show the updated data) twice daily it at 6AM and 6PM.
Right now am using the policy with .atEND But I could see the same data is rendering at 6AM and 6PM. and the refresh ie API call is happening after 6PM.
But my requirement is like to hit the api before rendering the widget at 6AM and again needs to hit the api before rendering at 6PM.