download
raw
417 Bytes
'use strict'
const { register } = require('../..')
const assert = require('assert')
function setup () {
let obj = { foo: 'bar' }
register(obj, shutdown)
setImmediate(function () {
obj = undefined
gc() // eslint-disable-line
})
}
let shutdownCalled = false
function shutdown (obj) {
shutdownCalled = true
}
setup()
process.on('exit', function () {
assert.strictEqual(shutdownCalled, false)
})

Xet Storage Details

Size:
417 Bytes
·
Xet hash:
c458dff77d11de1ec57093b10e6e1387eebb3648e6fd20b9bc4164b987a632f9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.