You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -409,6 +409,12 @@ store = await storage("my-data-store", storage_class=MyStorage)
409
409
# The store object is now an instance of MyStorage.
410
410
```
411
411
412
+
### `@pyscript/core/dist/storage.js`
413
+
414
+
The equivalent functionality based on the *JS* module can be found through our module.
415
+
416
+
The goal is to be able to share the same database across different worlds (interpreters) and the functionality is nearly identical except there is no *class* to provide because the storage in *JS* is just a dictionary proxy that synchronizes behind the scene all read, write or delete operations.
417
+
412
418
### `pyscript.web`
413
419
414
420
The classes and references in this namespace provide a Pythonic way to interact
0 commit comments