// keys() available inside a shared storage worklet module
const storage = await this.sharedStorage;
async function logKeys() {
for await (const key of storage.keys()) {
console.log(key);
}
}WorkletSharedStorage: keys() method / notebook
WorkletSharedStorage: keys() method
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.