ClientSession
Defined in: packages/@livestore/common/dist/adapter-types.d.ts:26
Properties
Section titled “Properties”clientId
Section titled “clientId”clientId:
string
Defined in: packages/@livestore/common/dist/adapter-types.d.ts:36
debugInstanceId
Section titled “debugInstanceId”debugInstanceId:
string
Defined in: packages/@livestore/common/dist/adapter-types.d.ts:44
A unique identifier for the current instance of the client session. Used for debugging purposes.
devtools
Section titled “devtools”devtools: {
enabled
:false
; } | {enabled
:true
;pullLatch
:Latch
;pushLatch
:Latch
; }
Defined in: packages/@livestore/common/dist/adapter-types.d.ts:29
leaderThread
Section titled “leaderThread”leaderThread:
ClientSessionLeaderThreadProxy
Defined in: packages/@livestore/common/dist/adapter-types.d.ts:42
A proxy API to communicate with the leader thread
lockStatus
Section titled “lockStatus”lockStatus:
SubscriptionRef
<LockStatus
>
Defined in: packages/@livestore/common/dist/adapter-types.d.ts:39
Status info whether current session is leader or not
sessionId
Section titled “sessionId”sessionId:
string
Defined in: packages/@livestore/common/dist/adapter-types.d.ts:37
shutdown()
Section titled “shutdown()”shutdown: (
cause
) =>Effect
<void
>
Defined in: packages/@livestore/common/dist/adapter-types.d.ts:40
Parameters
Section titled “Parameters”Cause
<UnexpectedError
| IntentionalShutdownCause
>
Returns
Section titled “Returns”Effect
<void
>
sqliteDb
Section titled “sqliteDb”sqliteDb:
SqliteDb
Defined in: packages/@livestore/common/dist/adapter-types.d.ts:28
SQLite database with synchronous API running in the same thread (usually in-memory)