Lines Matching refs:ev
446 open: function(ev){ argument
447 const oargs = Object.create(null), args = (ev.args || Object.create(null));
492 close: function(ev){ argument
493 const db = getMsgDb(ev,false);
498 const doUnlink = ((ev.args && 'object'===typeof ev.args)
499 ? !!ev.args.unlink : false);
505 exec: function(ev){ argument
507 'string'===typeof ev.args
508 ) ? {sql: ev.args} : (ev.args || Object.create(null));
515 const db = getMsgDb(ev);
582 export: function(ev){
583 const db = getMsgDb(ev);
593 toss: function(ev){
597 'opfs-tree': async function(ev){
604 self.onmessage = async function(ev){ argument
605 ev = ev.data;
606 let result, dbId = ev.dbId, evType = ev.type;
611 result = await wMsgHandler[evType](ev);
613 toss("Unknown db worker message type:",ev.type);
618 operation: ev.type,
621 input: ev
639 messageId: ev.messageId,
642 departureTime: ev.departureTime,