Describe the bug
I had 2 subscribers subscribed to didSelectItemPublisher of collection view. One to open another controller, one to call api. But when I tapped on collection view cell, it just emited elements to the latest subscriber, ignored the previous one.
To Reproduce
Subscribe 2 subscribers to didSelectItemPublisher of collection view and see what happens
Expected behaviordidSelectItemPublisher emits to all its subscribers
Describe the bug I had 2 subscribers subscribed to
didSelectItemPublisher
of collection view. One to open another controller, one to call api. But when I tapped on collection view cell, it just emited elements to the latest subscriber, ignored the previous one.To Reproduce Subscribe 2 subscribers to
didSelectItemPublisher
of collection view and see what happensExpected behavior
didSelectItemPublisher
emits to all its subscribersDevice: