OptionalconnectThe timeout in milliseconds for establishing the connection itself
(worker startup, script load, and SyncChannel.listen() readiness).
If the worker does not signal readiness within this time, a
TimeoutError is returned. Distinct from opTimeout, which governs
individual sync operations after the channel is ready.
OptionalopThe timeout for each synchronous operation in milliseconds.
If an operation takes longer than this, a TimeoutError is thrown.
OptionalsharedThe size of the SharedArrayBuffer in bytes.
Larger buffers can handle larger file operations but consume more memory.
Must be a multiple of 4 and at least 256 bytes.
Options for
SyncChannel.connect.Since
2.0.0