UNPKG

@notes-sync/service

Version:

Background service for AI-powered note synchronization

15 lines 480 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SystemEvents = void 0; const node_events_1 = require("node:events"); class SystemEvents { static onAddNote(callback) { this.emitter.on('add-note', callback); } static emitAddNote(text) { this.emitter.emit('add-note', text); } } exports.SystemEvents = SystemEvents; SystemEvents.emitter = new node_events_1.EventEmitter(); //# sourceMappingURL=system-events.js.map