Expand description
Presence System - Real-time user presence and cursor tracking.
Provides collaborative awareness features:
- Cursor positions and selections
- User online/offline status
- Custom user state (e.g., “typing”, “away”)
- Automatic expiration of stale presence
Structs§
- Cursor
- A cursor position in a document.
- Cursor
Builder - Builder for creating cursors from selections.
- Cursor
Colors - Color palette for user cursors.
- Presence
Delta - Delta for presence updates.
- Presence
Tracker - Presence tracker for a collaborative session.
- UserId
- Unique identifier for a user.
- User
Info - User information for display.
- User
Presence - Presence data for a single user.
Enums§
- User
Status - User status.
Functions§
- now_
millis 🔒 - Get current time in milliseconds.