https://kotlinlang.org logo
#coroutines
Title
# coroutines
s

Saurabh

06/14/2020, 6:10 AM
Do we have any replacement for actors yet. Can I achieve the same using maybe flows of some sort?
o

octylFractal

06/14/2020, 6:21 AM
no,
actor {}
is still the closest without rolling your own thing
you can of course use flows/channels to build your own actor, all
actor {}
is a specially encapsulated and linked
Channel
, that you could set up yourself
s

Saurabh

06/14/2020, 6:34 AM
Alright. I will try to implement something of my own then.
2 Views