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
Implementing_State_Machines_in_Kotlin.pdf
Search
prassee
April 08, 2020
Programming
0
41
Implementing_State_Machines_in_Kotlin.pdf
prassee
April 08, 2020
Tweet
Share
More Decks by prassee
See All by prassee
State_of_LSP_in_Kotlin.pdf
prassee
0
39
FINAGLE - AN INTRO TO RPC & ASYNC PROGRAMMING IN JVM
prassee
1
110
Other Decks in Programming
See All in Programming
OSS開発者の憂鬱
yusukebe
12
4.4k
Reactive Thinking with Signals and the new Resource API
manfredsteyer
PRO
0
100
Vueで学ぶデータ構造入門 リンクリストとキューでリアクティビティを捉える / Vue Data Structures: Linked Lists and Queues for Reactivity
konkarin
1
310
JJUG CCC 2025 Fall: Virtual Thread Deep Dive
ternbusty
3
450
全員アーキテクトで挑む、 巨大で高密度なドメインの紐解き方
agatan
2
1.2k
Eloquentを使ってどこまでコードの治安を保てるのか?を新人が考察してみた
itokoh0405
0
3.2k
詳細の決定を遅らせつつ実装を早くする
shimabox
1
1.3k
CSC509 Lecture 13
javiergs
PRO
0
250
The Missing Link in Angular's Signal Story: Resource API and httpResource
manfredsteyer
PRO
0
130
無秩序からの脱却 / Emergence from chaos
nrslib
1
2.6k
組織もソフトウェアも難しく考えない、もっとシンプルな考え方で設計する #phpconfuk
o0h
PRO
10
4.5k
What's New in Web AI?
christianliebel
PRO
0
130
Featured
See All Featured
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
1
34
The Invisible Side of Design
smashingmag
302
51k
Statistics for Hackers
jakevdp
799
220k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Being A Developer After 40
akosma
91
590k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
Writing Fast Ruby
sferik
630
62k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
670
YesSQL, Process and Tooling at Scale
rocio
174
15k
Transcript
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 !!!