SharedWorkerUpdateMessagePort
Defined in: web-worker/common/worker-schema.ts:197
Extends
Section titled “Extends”any
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SharedWorkerUpdateMessagePort():
SharedWorkerUpdateMessagePort
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