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