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
32
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
30
FINAGLE - AN INTRO TO RPC & ASYNC PROGRAMMING IN JVM
prassee
1
97
Other Decks in Programming
See All in Programming
カウシェで Four Keys の改善を試みた理由
ike002jp
1
120
GitHub Copilot for Azureを使い倒したい
ymd65536
1
310
2025-04-25 GitHub Copilot Agent ライブデモ(スクリプト)
goataka
0
110
Dissecting and Reconstructing Ruby Syntactic Structures
ydah
3
2k
サービスレベルを管理してアジャイルを加速しよう!! / slm-accelerate-agility
tomoyakitaura
1
200
ぽちぽち選択するだけでOSSを読めるVSCode拡張機能
ymbigo
1
190
Golangci-lint v2爆誕: 君たちはどうすべきか
logica0419
1
230
ウォンテッドリーの「ココロオドル」モバイル開発 / Wantedly's "kokoro odoru" mobile development
kubode
1
270
fieldalignmentから見るGoの構造体
kuro_kurorrr
0
130
Thank you <💅>, What's the Next?
ahoxa
1
590
Bedrock × Confluenceで簡単(?)社内RAG
iharuoru
1
110
複雑なフォームの jotai 設計 / Designing jotai(state) for Complex Forms #layerx_frontend
izumin5210
6
1.5k
Featured
See All Featured
A designer walks into a library…
pauljervisheath
205
24k
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
Become a Pro
speakerdeck
PRO
28
5.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.7k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
5
560
YesSQL, Process and Tooling at Scale
rocio
172
14k
A better future with KSS
kneath
239
17k
Documentation Writing (for coders)
carmenintech
71
4.7k
Bash Introduction
62gerente
612
210k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
How to Think Like a Performance Engineer
csswizardry
23
1.6k
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 !!!