Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49355

Making component to wait until async operations in the provider constructor gets resolved

$
0
0

@pradeepkaatnam wrote:

I am writing a ionic2 firebase application. I have a provider in which constructor will make async call and resolves it. Since it is an async call my component is getting initialized and trying to contact the provider even before its completion. How to make the component wait untill async operation gets resolved and completed in the provider constructor?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49355

Latest Images

Trending Articles



Latest Images