Combine .receive(on: )?
May 25, 2022
Debug choose
This is from https://www.avanderlee.com/combine/runloop-main-vs-dispatchqueue-main/
receive(on:options:)
RunLoop.main vs DispatchQueue.main
Same
- > All work on main thread
Different
- > RunLoop is binded with Object, maybe delay because of object with user interaction
- > DispatchQueue.main can react immediately.