Skip to main content
Module

x/replicache/sync/request-id.ts>newRequestID

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

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).

Parameters

clientID: string

Returns

string