Apologies about the repost, but I sent this messag...
# ktor
d
Apologies about the repost, but I sent this message on a weekend and it got zero replies and was quickly buried under Monday chatter. I'm trying one more time. Looking for advice please :-)
a
I guess you could take a look at
MutableStateFlow
. It would keep the Map you mentioned, updates could be done via the
update()
extension method. That way you don't need the (potentially) blocking
synchronized
and as such also no IO dispatcher I think?
👍 1