rwsdk
Version:
Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime
6 lines (5 loc) • 347 B
TypeScript
import { type Connection } from "./types.js";
export declare const PENDING_REQUEST_TIMEOUT_MS = 30000;
export declare function startPendingRequestTimer(connection: Connection): void;
export declare function stopPendingRequestTimer(connection: Connection): void;
export declare function rejectPending(connection: Connection, reason: string): void;