zak.taccardi
04/12/2019, 4:58 PMactor.offer(message)
(instead of actor.send(message)
when the actor(capacity = Channel.UNLIMITED)
, is there locking involved?zak.taccardi
04/12/2019, 5:00 PMactor.send(message)
may get cancelled before delivery occurs. Think a ViewModel#onCleared()
occurring which would cancel the scope in which actor.send(..)
is calledDominaezzz
04/12/2019, 5:17 PMzak.taccardi
04/12/2019, 5:17 PMzak.taccardi
04/12/2019, 5:17 PMDominaezzz
04/12/2019, 5:18 PMkotlinx.coroutines
uses locks ever.Dominaezzz
04/12/2019, 5:18 PMgildor
04/13/2019, 8:00 AMgildor
04/13/2019, 8:02 AM