svelte-realtime svelte-realtime
3 online Docs Tutorial Guides Core Reference Ecosystem
Home / docs/ core

Core

The building blocks every svelte-realtime app uses. Start with RPC and Streams - everything else builds on those two.

RPC

Call server functions like local async functions.

Streams

Reactive stores that sync across clients in real time.

Merge Strategies

crud, set, latest, presence, cursor - pick how data merges.

Cron

Scheduled server-side tasks with live.cron().

The ctx Object

Per-call context: user, params, publish, headers, webhooks.

Client APIs

Virtual imports, stores, pagination, optimistic updates.

Auth

Connection auth, module guards, access control.

Binary Data

Stream Uint8Array, ArrayBuffer, and Blob without base64 overhead.

Rooms

Bundle data, presence, cursors, and actions in one declaration.

Schema Evolution

Version your stream data with automatic migrations.

SSR & Loading States

Server-rendered initial values, no loading flash.

Performance & Batching

Coalesce updates, throttle hot paths, keep frames smooth.

Looking for the lower-level pieces - architecture, the Vite plugin, hooks.ws, errors, the full API surface? See Reference.

Was this page helpful?