I'm creating a new extension that will automatically update records in a table based on data returned from a server API endpoint that I control.
This API computes a lot of data and will take longer than 30 seconds to respond, so this can't be a normal synchronous API call.
What is the best strategy for doing this in my extension? I can think of three possible ways -
* Can extensions listen for webhooks, where I call an API and get a webhook back some minutes later?
* Or maybe the server writes directly to the table when the data is ready - can an extension facilitate this automatically?
* Alternatively, can I have my extension automatically & continuously (without user interaction) poll an endpoint every hour for new data and update the table?
Thanks for your ideas!