Elektrine lite

← Feed

@vrutberg@masto.nu

Post #1861686

2026-02-12 08:27 UTC

I’ve been putting off migrating my Combine stuff to AsyncStream, simply because I know how the Combine stuff works (and it works well), but I thought I would start now. I’m about to replace a CurrentValueSubject having multiple downstream subscribers with an AsyncStream. Am I missing something obvious, or is this difficult with AsyncStreams? #iosdev #swift

Replies (1)

  • @mattiem@mastodon.social 2026-02-12 10:19

    @vrutberg@masto.nu yes, it isn’t just difficult. It is unsupported without extra work. Thankfully async-algorithms just got the “share” operator.

    Open ##2282300