till the response?
await Api().post('http://someurl.com');
it waits until the promise resolves. You didn't provide what Api or at least post is
Actually is there needed await? Because I read that .then() promise is the asyc itself.
Обсуждают сегодня