結果 : how to make async function sync