@expressive-analytics/deep-thought-service
Version:
Typescript conversion of Deep Thought Services (formerly providers)
17 lines (16 loc) • 551 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DTSession = void 0;
const deep_thought_js_1 = require("@expressive-analytics/deep-thought-js");
class DTSession extends deep_thought_js_1.DTModel {
/** @return returns a singleton instance of the current session */
static shared() {
if (this.shared_session === undefined)
this.shared_session = {};
return this.shared_session;
}
static destroy() {
delete this.shared_session;
}
}
exports.DTSession = DTSession;