Updates
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
require('bare-process/global')
|
||||
const { HyperP2PSilenceProtocol } = require('../index.js')
|
||||
async function main () {
|
||||
const s = new HyperP2PSilenceProtocol()
|
||||
s.assertAbsent('evt-99')
|
||||
console.log('absent', s.isAssertedAbsent('evt-99'))
|
||||
await s.close()
|
||||
}
|
||||
main().catch(console.error)
|
||||
Reference in New Issue
Block a user