結果 : how to create an async function typescript