Skip to content

@statesync/core


@statesync/core / ZERO_REVISION

Variable: ZERO_REVISION

ts
const ZERO_REVISION: Revision;

Defined in: revision.ts:31

The zero revision constant, representing the initial (empty) revision state.

Use this as the starting revision before any snapshots have been applied.

Example

ts
import { ZERO_REVISION } from '@statesync/core';

let localRevision = ZERO_REVISION; // "0"

Released under the MIT License.