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

vnsgbt

12/31/2018, 7:41 PM
Is it possible to use
select
statement in an
actor
?
👌 1
b

bdawg.io

12/31/2018, 10:21 PM
An
actor
only has one receive channel, so it doesn't really benefit from
select
. You can use select statements in any suspending function though
Deferred
exposes
onAwait
and
ReceiveChannel
exposes
onReceive
👍 1
3 Views