Hello where and when should `withLock{...}` be app...
# coroutines
j
Hello where and when should
withLock{...}
be applicable?
b
Anytime you want to execute a block after you have obtained the lock and properly release it when the block has completed. Note that you do queue up to obtain the lock