Have you ever faced crashes while sending nested actions synchronously? #449
-
I use https://github.com/trading-point/reactiveswift-composable-architecture with UIKit and I had to wrap a lot of For now I'm waiting for |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I was discussing this with a colleague of mine (@p4checo) the other day and he experimented doing the same thing using I looked at the implementation of |
Beta Was this translation helpful? Give feedback.
I was discussing this with a colleague of mine (@p4checo) the other day and he experimented doing the same thing using
Combine
and it apparently does not crash. So somehow Combine allows changing thevalue
of aCurrentValueSubject
without locking 🤯I looked at the implementation of
CurrentValueSubject
in OpenCombine and it also uses anUnfairLock
just likeReactiveSwift
, so I'm not quite sure howCombine
manages this without locks.