UNPKG

json-joy

Version:

Collection of libraries for building collaborative editing apps.

15 lines (14 loc) 462 B
/** * Relative timestamp, which can be decoded give a table * of clocks. Session index specifies clock indes in the table. */ export declare class RelativeTimestamp { readonly sessionIndex: number; readonly timeDiff: number; /** * * @param sessionIndex Index of the clock in clock table. * @param timeDiff Time difference relative to the clock time from the table. */ constructor(sessionIndex: number, timeDiff: number); }