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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
prassee
April 08, 2020
Programming
51
0
Share
Implementing_State_Machines_in_Kotlin.pdf
prassee
April 08, 2020
More Decks by prassee
See All by prassee
State_of_LSP_in_Kotlin.pdf
prassee
0
46
FINAGLE - AN INTRO TO RPC & ASYNC PROGRAMMING IN JVM
prassee
1
130
Other Decks in Programming
See All in Programming
2026-04-15 Spring IO - I Can See Clearly Now
jonatan_ivanov
1
190
継続的な負荷検証を目指して
pyama86
3
1k
サプライチェーン攻撃対策「層を重ねて落ちない壁」を10日間で組み上げた話 #TechLeadConf2026
kashewnuts
1
240
The Less-Told Story of Socket Timeouts
coe401_
3
1.1k
サークル参加から学ぶ、小さな事業の回し方
yuzneri
0
160
mruby on C#: From VM Implementation to Game Scripting (RubyKaigi 2026)
hadashia
2
1.7k
How We Benchmarked Quarkus: Patterns and anti-patterns
hollycummins
1
180
Road to RubyKaigi: Play Hard(ware)
makicamel
1
560
PHPer、Cloudflare に引っ越す
suguruooki
1
140
運転動画を検索可能にする〜Cosmos-Embed1とDatabricks Vector Searchで〜/cosmos-embed1-databricks-vector-search
studio_graph
1
680
Surviving Black Friday: 329 billion requests with Falcon!
ioquatix
0
2.9k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
300
Featured
See All Featured
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
1
34
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
160
sira's awesome portfolio website redesign presentation
elsirapls
0
230
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.3k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
180
Visualization
eitanlees
150
17k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
230
Become a Pro
speakerdeck
PRO
31
5.9k
Leo the Paperboy
mayatellez
7
1.8k
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 !!!