Async function return Observer object and Promise

前端 未结 0 915
北海茫月
北海茫月 2021-01-17 01:11

I have function like below:

    async getData(): Promise {
        const result = fetch(`someURL`);

        return result.map(async (e) => ne         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题