functiontest() log('test is starting');wait(3); --the coroutine will exit before this finisheslog('async function completed!');endreturnfunction()local coroutineId =async('test');wait(1);--it will print: test is startingstopAsync(coroutineId);--it will NOT print async function completed!log('finished!')end