GDevelop 5, async web request« Wróć do listy pytań
example
|
▲ ▼ |
1. go to events var my_function = async function (func) { setTimeout(function () { var req = new XMLHttpRequest(); req.open('GET', 'https://my.address.com/something/data/1', false,true); req.send(null); }, 0); }; my_function (); |