UNPKG

@codervisor/devlog-core

Version:

Core devlog management functionality

22 lines (21 loc) 504 B
/** * Integration service that handles synchronization between local storage and external systems */ export class IntegrationService { backgroundSyncTimer; /** * Stop background synchronization */ stopBackgroundSync() { if (this.backgroundSyncTimer) { clearInterval(this.backgroundSyncTimer); this.backgroundSyncTimer = undefined; } } /** * Clean up resources */ dispose() { this.stopBackgroundSync(); } }