https://kotlinlang.org logo
Title
l

Luiz Aguiar

06/30/2021, 10:15 PM
Hey all, Can someone recommended a kotlin based state-machine library? Found one from Tinder but the license is restrictive, others are mostly old Java based.
e

ephemient

06/30/2021, 10:20 PM
BSD-3 is too restrictive?
☝️ 1
k

kqr

07/01/2021, 6:39 AM
@corneil made https://github.com/open-jumpco/kfsm as far as I know
❤️ 1
b

Big Chungus

07/01/2021, 7:03 AM
Redux?
c

corneil

07/01/2021, 10:05 AM
@Luiz Aguiar Let me know if you need anymore info
@Luiz Aguiar If you have a problem with the licence let me know. I didn't spend that much time thinking about it and want to provide a fairly permissive licence.
I think the Apache License may be more what I had in mind.
l

Luiz Aguiar

07/01/2021, 9:47 PM
@corneil thanks… I will take at look on it and let you know 😉
c

corneil

07/02/2021, 7:42 AM
I'm going to change license to Apache
l

louiscad

07/02/2021, 8:12 PM
Coroutines can also be used to make state machines in several ways.
p

Peter

07/14/2021, 2:12 PM
was looking at these a while ago too, ended up just building something custom - the state machinery itself is very little code
m

Mikhail Fedotov

09/02/2022, 4:07 PM
This library provides many features and has nice DSL syntax https://github.com/nsk90/kstatemachine