UNPKG

rwsdk

Version:

Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime

8 lines (7 loc) 366 B
export type SyncedStateIdentity = unknown; export declare class SyncedStateIdentityError extends Error { constructor(message: string); } export declare function setIdentityInUrl(identity: SyncedStateIdentity, url: URL): URL; export declare function getIdentityFromUrl(url: URL): SyncedStateIdentity; export declare function removeIdentityFromUrl(url: URL): URL;