aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/demo-worker1-promiser.js
Commit message (Collapse)AuthorAge
* Resolve duplicate loading of promiser v2 demo code (a side effect of having ↵stephan2024-03-07
| | | | | done precisely what it was told to do). Consolidate demo-worker1-promiser(-esm).html/(m)js variants into central copies processed with c-pp. FossilOrigin-Name: 9347d9b9a69277e40ea2f3ec6e1ff37ea19d24b4af80c6230b10624173f2f17c
* Initial work at getting sqlite3Worker1Promiser.v2() to return a Promise ↵stephan2024-03-07
| | | | | instead of using an onready() callback, and also creating an ESM build for promiser1 per user request. It seems to work but requires more testing. FossilOrigin-Name: 0e272123ace55ed63fe86632671cca48e8965a28fc3625324984028729fc203f
* wasm: pass the promiser function to the promiser onready() callback to ↵stephan2024-02-05
| | | | | simplify access to it in certain usage patterns. FossilOrigin-Name: f8a8b9ee2eddf5f875c7c4399e750ccf1941f767560ebc2c88c083560f5aaae0
* Add ability for the JS Worker1.exec() API to report the number of changes ↵stephan2023-05-25
| | | | | made to the caller, per request in [forum:d0b19483642e20dd | forum post d0b19483642e20dd]. FossilOrigin-Name: 6e79505df915612b60696e4eec5c9973175fe6ecf273eb3152b996e63ae54a07
* Minor cleanups in demo JS code, per forum feedback.stephan2023-05-23
| | | FossilOrigin-Name: 80c7c0360c08bea0733deccb8071920c60558b75df76b6afad093c82adf30ea6
* Correct rendering of error messages in demo-worker1.js. Remove some stray ↵stephan2023-03-05
| | | | | EOL whitespace. FossilOrigin-Name: 1d5d515ad97cf61bd679f8c1afc607815c079583fe80264b591c6ef18f56fb8b
* Update JS worker #1 API and related tests for recent API changes.stephan2022-12-25
| | | FossilOrigin-Name: d797e183e96e04520636865204c02307b751fdc2949a04587de9259a1733e37b
* Add sqlite3_wasm_vfs_create_file() to replace Emscripten's ↵stephan2022-11-02
| | | | | FS.createDataFile() in a (mostly) VFS-agnostic way. Add a test for worker1's export (to bytearray) support. Re-add worker1 open-from-bytearray using sqlite3_wasm_vfs_create_file() but it's untested (requires a new interactive test app or maybe reconsideration). FossilOrigin-Name: b35e1225c91a3cadc0d25af1e4e790237256d194990faa13190e343ed03e11c5
* Significant cleanups and expansion of the sqlite3.opfs utilities. Add ↵stephan2022-11-01
| | | | | oo1.DB.dbVfsName(). Add VFS name to worker1:open's arguments and result. FossilOrigin-Name: 86a341d7e061f946b39e8647ddd4743013b851b33ae9e6e755d8dbc53fba5286
* Rename several demo/test files and include more of them in the end-user dist ↵stephan2022-10-19
archive. FossilOrigin-Name: 9c85835f6f50eb3b1a2b89c817816335743f04440c48bfa05aa89ec519cc0d51