Synclets logoSynclets

LocalStorageSyncletOptions

The LocalStorageSyncletOptions type describes the configuration options for creating a complete Synclet with localStorage-backed data and meta connectors.

(
  LocalStorageDataConnectorOptions<Depth> &
  LocalStorageMetaConnectorOptions<Depth> &
  {
    transport?: Transport | Transport[];
    implementations?: SyncletImplementations<Depth>;
  } &
  SyncletOptions
)
TypeDescription
transport?Transport | Transport[]

The transport property specifies the transport or transports to use.

implementations?SyncletImplementations<Depth>

The implementations property specifies custom synclet implementations.

This type combines the options for both DataConnector and MetaConnector, along with optional transport, implementations, and other synclet configuration.

Since

v0.0.0