Skip to content
masterclass Buddy

Supabase · Method

channel.subscribe

Subscribe to a Supabase Realtime channel in Swift. Register event listeners first, then call subscribe() to start receiving events.

Last updated

Syntax

let channel = supabase.channel("channel-name")
await channel.subscribe()

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • broadcastStream(event:)
  • broadcast(event:message:)
  • removeChannel(_:)
  • removeAllChannels()
  • channels

Source: Swift API Reference | Supabase Docs. Checked 2026-11-03.