its was inside the JavaScript code, called directly from c++ (but wasent aware of await) and there was some confusion. And its seen its take comply of frame, so waiting is actuelly not a good idea either really.
anyway its works as intended and a another function can check it under loading, so the games can show something to you without its freezing.
Instead im just added a another function that checks when the task have been done or failed, so its wait just before when the load game progress is required (and later than normal)..... and with no a black screen.