Real-Time

Real-Time via WebSocket

Built in real-time support via WebSocket with battle tested performance!
Real-Time

Realtime Subscriptions with high availability & High Performance.

We create a real-time subscriptions with WebSocket so you can use it and sure about the performance.
1
import { KontenbaseClient } from '@kontenbase/sdk'
2
3
const kontenbase = new KontenbaseClient({ apiKey: 'abcdefghijk123456789' })
4
5
kontenbase.realtime.subscribe(
6
'articles',
7
{ event: 'CREATE_RECORD', where: { tags: 'news' } },
8
(message) => {
9
console.log(message)
10
}
11
)