Skip to content

Adapter

Adapter: (opts) => Effect.Effect<ClientSession, UnexpectedError, Scope.Scope>

Defined in: packages/@livestore/common/dist/adapter-types.d.ts:232

Parameters

opts

bootStatusQueue

Queue.Queue<BootStatus>

connectDevtoolsToStore

ConnectDevtoolsToStore

debugInstanceId

string

devtoolsEnabled

boolean

schema

LiveStoreSchema

shutdown

(cause) => void

storeId

string

syncPayload

JsonValue | undefined

Payload that will be passed to the sync backend when connecting

Default

undefined

Returns

Effect.Effect<ClientSession, UnexpectedError, Scope.Scope>