I have one scenario for address search. Let's say I allow my customers to configure multiple geocoding services. If first one fails, then address search will be performed on second one. If second one doesn't return any result then go to third one and so on.
How can I code for this? I want to start searching on second geocode service only if first one returns no result. Is there any way to achieve this using Locator?
I know we can perform nested calls but for how many services deep - I won't have any idea. Also, all() won't be useful because it requires all deferred objects to complete. Any technique to achieve the scenario I mentioned?