Is `Mutex` suitable to be used at business logic l...
# coroutines
u
Is
Mutex
suitable to be used at business logic level for example in
sendChatMessage()
to keep them sequential?
g
yes, why not, it’s just a suspend mutex
u
unsure, feels low level
g
well, kinda low level, can be broken if not implemented correctly
but you always can hide it from consumer, which just invoke a suspend function