Checks if the sync channel is ready to use.
true if ready, false otherwise.
true
false
1.11.0
if (!SyncChannel.isReady()) { await SyncChannel.connect(new URL('./worker.js', import.meta.url));} Copy
if (!SyncChannel.isReady()) { await SyncChannel.connect(new URL('./worker.js', import.meta.url));}
Checks if the sync channel is ready to use.