Releases: shareup/async-extensions
Releases · shareup/async-extensions
v4.4.0
v4.3.0
v4.2.1
v4.2.0
v4.1.0
v4.0.0
- Replace
Publisher.asyncValues
withPublisher.allValues
.
Apple’s Publisher.values
, which turns a Combine Publisher
into an async sequence, requests Subscribers.Demand.max(1)
with every iteration of a for-loop. So, it's possible for publishers to send values to it faster than it can handle them, which means some values will be dropped. Publisher.allValues
buffers all of the values it receives, which means it'll forward along everything it receives. Publisher.allValues
could use a lot of memory if its values aren't worked off at about the same rate as they are produced.