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

Ruckus

10/19/2018, 5:58 PM
Is there any way to have set-like functionality for a channel? Basically a way for a channel to not accept a value if it already has that value in its "queue".
e

elizarov

10/19/2018, 6:15 PM
Write an actor that does it.
r

Ruckus

10/19/2018, 6:17 PM
Ah, of course. Thanks. One of these days I'll build an intuition for these things, but I fear that day is still far off.
4 Views