Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Implementing_State_Machines_in_Kotlin.pdf
Search
prassee
April 08, 2020
Programming
69
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Implementing_State_Machines_in_Kotlin.pdf
prassee
April 08, 2020
Transcript
12 slides
Implementing State Machines in Kotlin Presented by Prasanna Kumar
About me - Data Engineer @ Kognitiv - Blog @
https://blog.prassee.me/ - Github - https://github.com/prassee/ - Started Kotlin recently !!!! Lets begin !!!!
Agenda - Introduction to State Machine - Modelling a state
machine for “Tumbling Window” - Concurrency in Kotlin - quick tour - Coroutines - Channels - Implementation - code walk through - Q&A
Introduction to State Machine
Modelling a state machine - “Tumbling Window” https://mapr.com/ebooks/intro-to-apache-flink/chapter-4-handling-time.html
Modelling a state machine - “Tumbling Window” (contd)
Coroutine Concurrency in Kotlin - Coroutines https://proandroiddev.com/kotlin-coroutines-channels-csp-android-db441400965f
suspend fun main() = coroutineScope { for (i in 0
until 10) { launch { delay(1000L - i * 10) print("❤$i ") } } } Concurrency in Kotlin - Coroutines
Coroutine Concurrency in Kotlin - Channels https://proandroiddev.com/kotlin-coroutines-channels-csp-android-db441400965f
Show Time !!! https://github.com/prassee/sm-with-k otlin
?
Thank You !!!
More Decks by prassee
See All by prassee
State_of_LSP_in_Kotlin.pdf
prassee
0
72
FINAGLE - AN INTRO TO RPC & ASYNC PROGRAMMING IN JVM
prassee
1
140
Other Decks in Programming
See All in Programming
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
310
Railsバージョンを4倍にした話
optim
0
1k
どうしても Eloquent でリポジトリパターンをやりたいんだ #phpcon_niigata / phpcon-niigata-2026
shogogg
0
120
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
570
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
200
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
2.1k
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
170
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
210
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
380
Rails初心者がパスキーを実装してみて大変だったこと
ktombow
0
190
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
180
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
15
12k
Featured
See All Featured
Utilizing Notion as your number one productivity tool
mfonobong
4
640
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
350
HDC tutorial
michielstock
2
1k
Color Theory Basics | Prateek | Gurzu
gurzu
1
520
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
830
Crafting Experiences
bethany
1
440
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
480
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
800
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
400
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.7k
Evolving SEO for Evolving Search Engines
ryanjones
0
360
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k