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
47
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
44
FINAGLE - AN INTRO TO RPC & ASYNC PROGRAMMING IN JVM
prassee
1
130
Other Decks in Programming
See All in Programming
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
250
2026-03-27 #terminalnight 変数展開とコマンド展開でターミナル作業をスマートにする方法
masasuzu
0
330
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
910
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
180
PCOVから学ぶコードカバレッジ #phpcon_odawara
o0h
PRO
0
260
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
210
「話せることがない」を乗り越える 〜日常業務から登壇テーマをつくる思考法〜
shoheimitani
4
780
「速くなった気がする」をデータで疑う
senleaf24
0
170
ハンズオンで学ぶクラウドネイティブ
tatsukiminami
0
120
事業会社でのセキュリティ長期インターンについて
masachikaura
0
250
おれのAgentic Coding 2026/03
tsukasagr
1
140
Going Multiplatform with Your Android App (Android Makers 2026)
zsmb
2
410
Featured
See All Featured
Ethics towards AI in product and experience design
skipperchong
2
250
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
64
54k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
220
Ruling the World: When Life Gets Gamed
codingconduct
0
200
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
270
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
98
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 !!!