presence-room-42
Realtime chat
Rooms, membership and typing indicators on presence channels.
Use case
A per-user private channel turns delivery into one publish. Whatever the user has open receives it, and your code never tracks which.
Delivery reaches sessions open right now. Anything that must survive a closed tab needs storing — the channel is delivery, not the record.
// One trigger reaches every device this user has connected.await pusher.trigger(`private-user-${user.id}`, 'notification', { id: notification.id, kind: 'mention', title: 'You were mentioned in #incidents', url: `/threads/${thread.id}`,})Written with the official Pusher libraries, unmodified — there is no PushCaster package to install. Full documentation
Rooms, membership and typing indicators on presence channels.
Push metrics as they change instead of polling for them.
Shared documents, canvases and cursors with tracked membership.