UNPKG

md-curcuma

Version:

A Typescript library for transporting and converting markdown and other data.

27 lines (26 loc) 695 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Image_IO = void 0; const observer_1 = require("../core/observer"); class Image_IO { constructor(props) { this.observer_subject = new observer_1.Observer_Subject(); this.props = null; this.props = props; } add_observer(observer, id) { this.observer_subject.add_observer(observer, id); } notify_all(props) { this.observer_subject.notify_all(props); } notify(props) { this.observer_subject.notify(props); } read() { } write(data) { throw new Error("Method not implemented."); } } exports.Image_IO = Image_IO;