-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Computing opportunities can take a bit too long to be handled by a synchronous request. In the synchronous request for the sample backend, at least for the Planet API, we in fact encapsulate an asynchronous request and only return once it's finished. Also, if a customer polls results from the async opportunity collection process and only a part of the results have been gathered, it would be good if those results would already be shown, along with information how to get the following ones (basically pagination, but not creating page breaks based on the number of results, but on the time of creation). See https://developers.planet.com/docs/tasking/examples/assured/ for one way to expose this kind of functionality, in particular the "next" field that would display the next set of results (even though unused in the example).