liveview-native / liveview-native-core

Provides core language-agnostic functionality for LiveView Native across platforms
MIT License
146 stars 10 forks source link

Support AsyncStream in Swift Bindings for LiveChannel/Phoenix Channel events #155

Open simlay opened 2 months ago

simlay commented 2 months ago

This feature was mentioned a while back. It'd cool if LiveChannel events supported swift's AsyncStream.

This work will probably go in Support.swift.

carson-katri commented 2 months ago

An AsyncStream API for events would be great. I can help out with that implementation if needed. I think we just need a way to call Channel.events from the LiveChannel to begin implementing this.