1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Note two wasm-related potential TODOs.

FossilOrigin-Name: 5636e82864457d870754ee7125c307dc5d2195197a5c0266579da9f102938b89
This commit is contained in:
stephan
2022-10-01 12:04:49 +00:00
parent 8c1a4b89af
commit 6167d5cf17
4 changed files with 23 additions and 15 deletions

View File

@ -104,7 +104,10 @@
the callback is called one time for each row of the result set,
passed the same worker message format as the worker API emits:
{type:typeString, row:VALUE, rowNumber:1-based-#}
{type:typeString,
row:VALUE,
rowNumber:1-based-#,
columnNames: array}
Where `typeString` is an internally-synthesized message type string
used temporarily for worker message dispatching. It can be ignored
@ -234,9 +237,6 @@ self.sqlite3Worker1Promiser = function callee(config = callee.defaultConfig){
};
}/*sqlite3Worker1Promiser()*/;
self.sqlite3Worker1Promiser.defaultConfig = {
worker: ()=>{
//const p = self.location.pathname.replace(/[^/]*$/, "sqlite3-worker1.js");
return new Worker("sqlite3-worker1.js");
},
worker: ()=>new Worker("sqlite3-worker1.js"),
onerror: (...args)=>console.error('worker1 promiser error',...args)
};