- Console
- AI & dev tools
- Realtime features
Realtime features
Live SDK demos for chat, streaming, location, collab, game, IoT, fleet, spatial, and omnichannel against your Worker demo room or guest session.
Ship a chat feature in an afternoon.
Rooms, presence, threads, and reactions on one Durable Object. Vertical events (polls, breakouts, stage live) arrive on the JSON socket via onServerEvent. Yjs, if you need it, is a second binary connection to the same object.
const { messages, sendMessage } = useChat({
roomId: "chat:room-42",
client,
onServerEvent: (ev) => {
if (ev.name === "edu.poll.created") showPoll(ev.data);
},
});
sendMessage("Hello from FluxyChat");Connecting to the live demo room