Skip to main content
Module

x/replicache/sync/request-id.ts

Realtime Sync for Any Backend Stack
Latest
import * as replicache from "https://deno.land/x/replicache@v10.0.0-beta.0/sync/request-id.ts";

Functions

Returns a new request_id of the form --. The request count enables one to find the request following or preceeding a given request. The sessionid scopes the request count, ensuring the request_id is probabilistically unique across restarts (which is good enough).