ClientSession
Defined in: packages/@livestore/common/dist/adapter-types.d.ts:25
Properties
clientId
clientId:
string
Defined in: packages/@livestore/common/dist/adapter-types.d.ts:35
devtools
devtools: {
enabled
:false
; } | {enabled
:true
;pullLatch
:Latch
;pushLatch
:Latch
; }
Defined in: packages/@livestore/common/dist/adapter-types.d.ts:28
leaderThread
leaderThread:
ClientSessionLeaderThreadProxy
Defined in: packages/@livestore/common/dist/adapter-types.d.ts:41
A proxy API to communicate with the leader thread
lockStatus
lockStatus:
SubscriptionRef
<LockStatus
>
Defined in: packages/@livestore/common/dist/adapter-types.d.ts:38
Status info whether current session is leader or not
sessionId
sessionId:
string
Defined in: packages/@livestore/common/dist/adapter-types.d.ts:36
shutdown()
shutdown: (
cause
) =>void
Defined in: packages/@livestore/common/dist/adapter-types.d.ts:39
Parameters
cause
Cause
<UnexpectedError
| IntentionalShutdownCause
>
Returns
void
sqliteDb
sqliteDb:
SqliteDb
Defined in: packages/@livestore/common/dist/adapter-types.d.ts:27
SQLite database with synchronous API running in the same thread (usually in-memory)