(trx)
| 75 | |
| 76 | // TODO: give this an async interface? |
| 77 | commitTransaction(trx) { |
| 78 | objects[trx].trx.commit(); |
| 79 | }, |
| 80 | |
| 81 | setKV(trx, key, keyLen, value, valueLen, p, f) { |
| 82 | console.log('setKV', { k: uint8Array(key, keyLen), v: uint8Array(value, valueLen) }); |