Skip to content

Commit 5df2a3a

Browse files
committed
Merge branch 'events' of github.com:pyscript/docs into events
2 parents ae2fafa + fc1efb6 commit 5df2a3a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,12 @@ store = await storage("my-data-store", storage_class=MyStorage)
409409
# The store object is now an instance of MyStorage.
410410
```
411411

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+
412418
### `pyscript.web`
413419

414420
The classes and references in this namespace provide a Pythonic way to interact

0 commit comments

Comments
 (0)