Sha256: b8b181ce8c4b2b1400fec869534ff2a29f61ec3dafab71b1551bf1563d10322b
Contents?: true
Size: 542 Bytes
Versions: 19
Compression:
Stored size: 542 Bytes
Contents
const AbstractHandler = require("./AbstractHandler"); const ReferencesCache = require("../referenceCache/ReferencesCache") class DestructReferenceHandler extends AbstractHandler { constructor() { super() } process(command) { try { let cache = ReferencesCache.getInstance() return cache.deleteReference(command.payload[0]) } catch (error) { throw this.process_stack_trace(error, this.constructor.name) } } } module.exports = new DestructReferenceHandler()
Version data entries
19 entries across 14 versions & 1 rubygems