executor.html (309B)
1 <script src="./dispatcher.js"></script> 2 <script> 3 4 const params = new URLSearchParams(window.location.search); 5 const uuid = params.get('uuid'); 6 7 let executeOrders = async function() { 8 while(true) { 9 let task = await receive(uuid); 10 eval(`(async () => {${task}})()`); 11 } 12 }; 13 executeOrders(); 14 15 </script>