I am calling an api using async await and the data returned from this api needs to be passed to one variable which is initialized in constructor
But the api returns data after the constructor initializes.
Can someone please suggest solution for this.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…