Skip to content

Firebaseでのデータ処理にAsync/awaitを適応する #30

@hamadayuuki

Description

@hamadayuuki

概要 (What)

Firebaseを用いたデータ取得や登録の処理にAsync/awaitを適応させる

目的 (Why)

クロージャでの処理をなくして、非同期処理を管理しやすくするため
コードの可読性向上

提案内容 (How)

データは全て構造体として定義する
FireStore → FireAuth の順番で置き換えていく

タスク

  • FirebaseのAsync/awaitに関する記事を読み、ミニアプリ作成
  • Qiitaへ記事を投稿
  • Userに関するモデルを置き換える
  • FireStoreを用いている処理全てをAsync/awaitへ適応させる
  • FireAuthを用いている処理全てをAsync/awaitへ適応させる

その他

参考資料
↓ 13:12〜
https://io.google/2022/program/4b4d658d-9682-4573-9ebe-0a48e7ff75df/intl/ja/
https://tech.nri-net.com/entry/firestore_swift_async_await

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions