Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Explore CoroutineScope

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.

Explore CoroutineScope

Avatar for tomoEng11

tomoEng11

April 21, 2026

Other Decks in Programming

Transcript

  1. About Me 名前: tomo 所属: 株式会社 Voicy プロダクトエンジニア X: @tomoEng11

    好きな言語: Swift 最近Kotlinの勉強を始めました!
  2. まとめ • CoroutineContext は複数の要素を持つMap的構造 • Key はcompanion objectで定義されていて、型との対応を表現 • get

    は型安全に取得 → Key<E> • minusKey は削除のみ → Key<*> • invariant を活かした設計で型安全を保証 KotlinのAPI設計めっちゃ勉強になる!!