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

Albert

10/30/2018, 2:01 PM
How do I initiate
actor
properly? I tried:
Copy code
GlobalScope.actor { }
But it is annotated with
ObsoleteCoroutinesApi
g

gildor

10/30/2018, 2:05 PM
See documentation Note: This API will become obsolete in future updates with introduction of complex actors. * See [issue #87](https://github.com/Kotlin/kotlinx.coroutines/issues/87). *
You still can use this API, but this API will be replaced with new one
g

Gilles Barbier

08/26/2020, 9:37 PM
@gildor do you know any (even rough) ETA for this new API?
g

gildor

08/26/2020, 11:34 PM
Nope, I don't think that it has high priority now
g

Gilles Barbier

08/27/2020, 12:30 AM
ok thx
g

gildor

08/27/2020, 3:02 AM
yeah, StateFlow and multi threading coroutines are probably have higher priority now
I would ask in this issue and add your use case
you still can use existing actors, I don’t think that they would be removed soon, they not even deprecated
👍 1
2 Views