We have multiple searchmanager objects running different searches, and we need to wait until all of them are done to execute some other code.
It works using <search>.on("data") state for individual searches, but we need a way to wait for them all.
What is the best way to accomplish this?
Regards.
Javier.