UNPKG

dbm

Version:

37 lines (26 loc) 581 B
import Dbm from "../index.js"; export default class LifeCycleObject { constructor() { if(process.env.NODE_ENV === "development") { this._debugId = Math.round(Math.random()*1000000000000); } this._constructProperties(); this._construct(); } _constructProperties() { } _construct() { } retain() { //METODO return this; } release() { //METODO } destroy() { if(process.env.NODE_ENV === "development") { this._debugId = null; } } }