Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Coroutines 1.6移行記録 / Tried to migrate Coroutine...
Search
Masatoshi Kubode
February 22, 2022
Programming
1
560
Coroutines 1.6移行記録 / Tried to migrate Coroutines to 1.6
Masatoshi Kubode
February 22, 2022
Tweet
Share
More Decks by Masatoshi Kubode
See All by Masatoshi Kubode
ウォンテッドリーの「ココロオドル」モバイル開発 / Wantedly's "kokoro odoru" mobile development
kubode
2
1.1k
Firebase Dynamic Linksの代替手段を自作する / Create your own Firebase Dynamic Links alternative
kubode
0
510
技術を根付かせる / How to make technology take root
kubode
1
380
WantedlyでのKotlin Multiplatformの導入と課題 / Kotlin Multiplatform Implementation and Challenges at Wantedly
kubode
0
470
Google Play Consoleデベロッパー アカウントの確認 / Verifying your Play Console developer account
kubode
1
1.3k
Make your Android app into Multiplatform app
kubode
0
170
ウォンテッドリーにおけるモバイルアプリ開発 / iOSDC Japan 2024 Sponsor Session
kubode
1
1.1k
Jetpack ComposeのBottomSheetとの戦い / Fight with BottomSheet of Jetpack Compose
kubode
0
860
Mobile Chapterが目指すところと技術 / Vision and Technology of Mobile Chapter at Wantedly
kubode
0
370
Other Decks in Programming
See All in Programming
Jakarta EE Core Profile and Helidon - Speed, Simplicity, and AI Integration
ivargrimstad
0
200
20250808_AIAgent勉強会_ClaudeCodeデータ分析の実運用〜競馬を題材に回収率100%の先を目指すメソッドとは〜
kkakeru
0
210
コンテキストエンジニアリング Cursor編
kinopeee
1
710
State of CSS 2025
benjaminkott
1
120
SOCI Index Manifest v2が出たので調べてみた / Introduction to SOCI Index Manifest v2
tkikuc
1
110
MLH State of the League: 2026 Season
theycallmeswift
0
160
CSC305 Summer Lecture 06
javiergs
PRO
0
100
サーバーサイドのビルド時間87倍高速化
plaidtech
PRO
0
500
一人でAIプロダクトを作るための工夫 〜技術選定・開発プロセス編〜 / I want AI to work harder
rkaga
13
2.8k
AIエージェント開発、DevOps and LLMOps
ymd65536
1
350
AIコーディングAgentとの向き合い方
eycjur
0
230
Claude Codeで挑むOSSコントリビュート
eycjur
0
180
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.6k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
Embracing the Ebb and Flow
colly
87
4.8k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
How to Think Like a Performance Engineer
csswizardry
25
1.8k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
283
13k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
Site-Speed That Sticks
csswizardry
10
790
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Transcript
©2022 Wantedly, Inc. Coroutines 1.6 Ҡߦه ϞόΠϧษڧձ Wantedly × νʔϜϥϘ
2022/2/22 ٱอग़խढ़ Photo by Andrii Ganzevych on Unsplash
©2022 Wantedly, Inc. XXXXBOUFEMZDPNJELVCPEF
©2022 Wantedly, Inc. $PSPVUJOFTͷมߋ "OESPJEͰҠߦͨ͠ ,..ͰҠߦ͠Α͏ͱ͕ͨ͠Ͱ͖ͳ͔ͬͨ
·ͱΊ ͢͜ͱ
©2022 Wantedly, Inc. $PSPVUJOFTͷมߋ
©2022 Wantedly, Inc. w LPUMJOYDPSPVUJOFTUFTUSFXPSL w .VMUJQMBUGPSNରԠ w ৽͍͠"1*ͷՃͱݹ͍"1*ͷ%FQSFDBUJPO w
,PUMJO/BUJWFOFXNFNPSZNPEFMJTOPX TVQQPSUFE $PSPVUJOFTͷมߋ https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.6.0
©2022 Wantedly, Inc. LPUMJOYDPSPVUJOFTUFTU
©2022 Wantedly, Inc. w $PSPVUJOFTΛςετ͘͢͢͠ΔϥΠϒϥϦ w %JTQBUDIFSTTFU.BJOSFTFU.BJO w 5FTU%JTQBUDIFS DPSPVUJOFTUFTU
©2022 Wantedly, Inc. %JTQBUDIFSTTFU.BJOSFTFU.BJO
©2022 Wantedly, Inc. %JTQBUDIFSTTFU.BJOSFTFU.BJO ϢχοτςετͰϞοΫ͕ඞཁʂ
©2022 Wantedly, Inc. %JTQBUDIFSTTFU.BJOSFTFU.BJO Dispatchers.MainΛஔ͖͑Δ
©2022 Wantedly, Inc. %JTQBUDIFSTTFU.BJOSFTFU.BJO Dispatchers.Main͕StandardTestDispatcherʹͳΔ
©2022 Wantedly, Inc. %JTQBUDIFSTTFU.BJOSFTFU.BJO σϑΥϧτʹΔ
©2022 Wantedly, Inc. 5FTU%JTQBUDIFS
©2022 Wantedly, Inc. 5FTU%JTQBUDIFS ͦͷ··ͩͱςετͷ࣮ߦʹ1ඵ͔͔Δ
©2022 Wantedly, Inc. 5FTU%JTQBUDIFS ςετͷ࣮ߦଈऴΘΔ
©2022 Wantedly, Inc. "OESPJEͰͷҠߦ
©2022 Wantedly, Inc. جຊతʹҠߦΨΠυ௨Γ "OESPJEͰͷҠߦ https://github.com/Kotlin/kotlinx.coroutines/blob/1.6.0/kotlinx-coroutines-test/MIGRATION.md $PSPVUJOFT $PSPVUJOFT SVO#MPDLJOH5FTU SVO5FTU
5FTU$PSPVUJOF%JTQBUDIFS 6ODPO fi OFE5FTU%JTQBUDIFS 4UBOEBSE5FTU%JTQBUDIFS
©2022 Wantedly, Inc. 5FTU%JTQBUDIFS
©2022 Wantedly, Inc. ,..ͰͷҠߦ
©2022 Wantedly, Inc. w ͭͷେ͖ͳ͕ى͖ͨ w ,UPSͱͷΈ߹Θͤ w *MMFHBM4UBUF&YDFQUJPO%JTQBUDIFST.BJOJT VTFEDPODVSSFOUMZXJUITFUUJOHJU
,..ͰͷҠߦ
©2022 Wantedly, Inc. w ,PUMJO/BUJWF্Ͱ,UPSY $PSPVUJOFT Ͱ*OWBMJE.VUBCJMJUZ&YDFQUJPO͕ى͖Δ w ,UPSͷϦϦʔεΛͭඞཁ⏱ ,UPSͷ
https://youtrack.jetbrains.com/issue/KTOR-3463
©2022 Wantedly, Inc. w .VMUJQMBUGPSNରԠͨ͜͠ͱͰՃ͞Εͨྫ֎ w %JTQBUDIFSTTFU.BJOSFTFU.BJOݺͼग़͠ͱ %JTQBUDIFST.BJOͷΞΫηε͕ผεϨουͰ ಉ࣌ʹى͖Δͱൃੜ %JTQBUDIFST.BJOJTVTFEDPODVSSFOUMZXJUITFUUJOHJU
©2022 Wantedly, Inc. %JTQBUDIFST.BJOJTVTFEDPODVSSFOUMZXJUITFUUJOHJU
©2022 Wantedly, Inc. %JTQBUDIFST.BJOJTVTFEDPODVSSFOUMZXJUITFUUJOHJU ViewModelͷςετΛ͢Δ
©2022 Wantedly, Inc. %JTQBUDIFST.BJOJTVTFEDPODVSSFOUMZXJUITFUUJOHJU ςετͷBefore/AfterͰsetMain/resetMain
©2022 Wantedly, Inc. %JTQBUDIFST.BJOJTVTFEDPODVSSFOUMZXJUITFUUJOHJU Dispatchers.MainΛͬͯΔ
©2022 Wantedly, Inc. %JTQBUDIFST.BJOJTVTFEDPODVSSFOUMZXJUITFUUJOHJU Dispatchers.Main = ςετεϨουͱผεϨου Ͱ࣮ߦ͞ΕΔ
©2022 Wantedly, Inc. %JTQBUDIFST.BJOJTVTFEDPODVSSFOUMZXJUITFUUJOHJU Dispatchers.MainͰ࣮ߦ͞ΕΔ ·Εʹྫ֎͕ى͖Δ
©2022 Wantedly, Inc. w ͯ͢ͷίϧʔνϯ͕ফඅ͞ΕΔ͜ͱΛ֬ೝ͢Δ w ςετ͝ͱʹDBODFM͢Δ w 5FTU%JTQBUDIFSҎ֎Θͳ͍ w
ཁ%* ͙ʹ
©2022 Wantedly, Inc. ·ͱΊ
©2022 Wantedly, Inc. w ओʹDPSPVUJOFTUFTUͷมߋʹ͍ͭͯ৮Εͨ w جຊతʹΨΠυ௨Γ w ᠘͋Δ w
,UPSͷϦϦʔεΛͭඞཁ ·ͱΊ
ϖʔδλΠτϧ ϖʔδαϒλΠτϧ ©2022 Wantedly, Inc. 🙇