Serialize asynchronous methods

非同期メソッドを直列化するコード