TLLocalSyncClient

Public Class

Table of Contents
Signature
class TLLocalSyncClient {}

Constructor

Public Constructor

Constructs a new instance of the TLLocalSyncClient class

Parameters
NameDescription

store

TLStore

{ universalPersistenceKey, onLoad, onLoadError, }

{
  universalPersistenceKey: string
  onLoad: (self: TLLocalSyncClient) => void
  onLoadError: (error: Error) => void
}

channel

(optional)

BroadcastChannel | BroadcastChannelMock
References

TLStore, TLLocalSyncClient, Error, BroadcastChannel, BroadcastChannelMock


Properties

channel

Public Readonly Property

Signature
readonly channel: BroadcastChannel | BroadcastChannelMock
References

BroadcastChannel, BroadcastChannelMock


initTime

Public Property

Signature
initTime: number

serializedSchema

Public Readonly Property

Signature
readonly serializedSchema: SerializedSchema
References

SerializedSchema


store

Public Readonly Property

Signature
readonly store: TLStore
References

TLStore


universalPersistenceKey

Public Readonly Property

Signature
readonly universalPersistenceKey: string

Methods

close()

Public Method

Parameters

None

Returns
void

Edit this page
Last edited on 11 May 2023
TAB_IDuseLocalSyncClient