Async Service as Promise/Await like with Events and Subscriptions
Hi!
I have a few huge data packets I am fetching through REST Api and I would like it to happen separately with async functions so users do not have wait for all of them to be fetched.
So what I have tried to do is: Create a custom async service which fires an event after data has been fetched, that event is listened by subscription which calls a custom Service which updates data in a Thing Property. So my question is: is there any other way to get that data to Mashup instead of using an Auto-Refresh widget.
What I hoped I could accomplish instead of using an Auto-Refresh widget:
1. Have a reference to a widget in a Service from where I could update the widget or bind data to it.
2. Call Mashup's Refresh function (at least Mashup["mashup"].Refresh won't work)
Thanks!

