This commit is contained in:
Raven Scott
2026-05-20 21:02:45 -04:00
parent 1f3f4b24a2
commit 14d0980b4f
734 changed files with 682 additions and 746 deletions
@@ -0,0 +1,10 @@
require('bare-process/global')
const { HyperP2PMirrorRealm } = require('../index.js')
async function main () {
const m = new HyperP2PMirrorRealm()
m.write('A', 'key', 1)
m.fork()
console.log('forked', m.isForked())
await m.close()
}
main().catch(console.error)