Skip to content

0.3.0

Latest

Choose a tag to compare

@AndrewBeshay AndrewBeshay released this 31 May 15:32
· 4 commits to main since this release

Added

  • EventSub: network-path-aware reconnect plus a public connectionState stream (ConnectionState) consumers can observe to drive UI such as a "Reconnecting…" indicator.
  • Added the NetworkPathMonitoring protocol, NetworkPathStatus enum, and NWPathMonitor-backed NWPathNetworkMonitor. EventSubClient and TwitchClient gained a defaulted pathMonitor parameter; all new API is additive and existing call sites compile unchanged.

Changed

  • EventSub now pauses its reconnect loop while the network path is unsatisfied and reconnects immediately (resetting backoff) the instant the path is satisfied again, instead of burning retry attempts into a dead network. The isLive backoff ladder still governs non-network socket drops.