$30 off During Our Annual Pro Sale. View Details »
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
580
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.2k
Firebase Dynamic Linksの代替手段を自作する / Create your own Firebase Dynamic Links alternative
kubode
0
600
技術を根付かせる / How to make technology take root
kubode
1
420
WantedlyでのKotlin Multiplatformの導入と課題 / Kotlin Multiplatform Implementation and Challenges at Wantedly
kubode
0
530
Google Play Consoleデベロッパー アカウントの確認 / Verifying your Play Console developer account
kubode
1
1.3k
Make your Android app into Multiplatform app
kubode
0
180
ウォンテッドリーにおけるモバイルアプリ開発 / iOSDC Japan 2024 Sponsor Session
kubode
1
1.3k
Jetpack ComposeのBottomSheetとの戦い / Fight with BottomSheet of Jetpack Compose
kubode
0
970
Mobile Chapterが目指すところと技術 / Vision and Technology of Mobile Chapter at Wantedly
kubode
0
380
Other Decks in Programming
See All in Programming
React Native New Architecture 移行実践報告
taminif
1
120
アーキテクチャと考える迷子にならない開発者テスト
irof
9
3.4k
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
5
2.7k
乱雑なコードの整理から学ぶ設計の初歩
masuda220
PRO
32
15k
connect-python: convenient protobuf RPC for Python
anuraaga
0
310
【レイトレ合宿11】kagayaki_v4
runningoutrate
0
110
分散DBって何者なんだ... Spannerから学ぶRDBとの違い
iwashi623
0
140
「正規表現をつくる」をつくる / make "make regex"
makenowjust
1
980
Agentに至る道 〜なぜLLMは自動でコードを書けるようになったのか〜
mackee
5
2.5k
20 years of Symfony, what's next?
fabpot
1
110
Herb to ReActionView: A New Foundation for the View Layer @ San Francisco Ruby Conference 2025
marcoroth
0
210
Module Harmony
petamoriken
2
580
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
6.6k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Java REST API Framework Comparison - PWX 2021
mraible
34
9k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
350
Automating Front-end Workflow
addyosmani
1371
200k
Mobile First: as difficult as doing things right
swwweet
225
10k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.3k
The Invisible Side of Design
smashingmag
302
51k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
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. 🙇