presence-room-42
Realtime chat
Rooms, membership and typing indicators on presence channels.
Use case
Audit trails, order flows and incident timelines are one shape: an append-only list somebody is watching. Loaded over HTTP, kept current by events.
A client that reconnects has a gap. Re-fetch the head of the feed rather than assuming the socket caught everything.
const feed = await fetch('/api/activity?limit=50').then((r) => r.json())render(feed.items)// Same shape as the HTTP payload, so one renderer covers both.pusher.subscribe('private-account-3b1').bind('activity', (item) => { prepend(item)})Written with the official Pusher libraries, unmodified — there is no PushCaster package to install. Full documentation
Rooms, membership and typing indicators on presence channels.
One server event, delivered to every surface a user has open.
Push metrics as they change instead of polling for them.