SharedWorkerUpdateMessagePort
Defined in: packages/@livestore/adapter-web/src/web-worker/common/worker-schema.ts:195
Extends
Section titled “Extends”object
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SharedWorkerUpdateMessagePort(
_):SharedWorkerUpdateMessagePort
Defined in: node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/rpc/Rpc.d.ts:66
Parameters
Section titled “Parameters”never
Returns
Section titled “Returns”SharedWorkerUpdateMessagePort
Inherited from
Section titled “Inherited from”Rpc.make('UpdateMessagePort', { payload: { port: Transferable.MessagePort, // Version gate to prevent mixed LiveStore builds talking to the same SharedWorker liveStoreVersion: Schema.Literal(liveStoreVersion), /** * Initial configuration for the leader worker. This replaces the previous * two-phase SharedWorker handshake and is sent under the tab lock by the * elected leader. Subsequent calls can omit changes and will simply rebind * the port (join) without reinitializing the store. */ initial: LeaderWorkerInnerInitialMessage.payloadSchema, }, success: Schema.Void, error: UnknownError, }).constructor