Method to refresh the ems is not synchronous

Hi guys!
I found that method to refresh the ems is not synchronous (OpenStack for my case). I need to wait some time before I get the updated data. This is true for built-in method:

as well as for the method of the corresponding object (ems.refresh). Now I use the following snippet to resolve this issue:

ems = $evm.root[‘event_stream’].ext_management_system

but as you know it is not correct. Maybe there’s some way of pulling for this task ?

@gmccullough can you review this question from @igortiunov and forward to a SME if necessary.

There is ems.last_refresh_date that gives you a hint of when the latest refresh finished. But it is not reliable because it could be a result of a refresh issued by someone else.