Files
supabase/apps/reference/_supabase_js/generated/getchannels.mdx
T
2022-08-15 15:27:07 +02:00

24 lines
416 B
Plaintext

---
id: getchannels
title: 'getChannels()'
slug: /getchannels
custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_js_v2_legacy.yml
---
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
Returns all Realtime channels.
```js
const subscriptions = supabase.getChannels()
```
## Examples
### Get all subscriptions
```js
const subscriptions = supabase.getChannels()
```