mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-09-21 18:17:05 +00:00
Tighten provider adapter boundaries
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
import type { RemoteDBSettings } from "@vrtmrz/livesync-commonlib/compat/common/types";
|
||||
|
||||
/**
|
||||
* Closeable surface of a concrete Replicator owned by one private resource.
|
||||
*
|
||||
* It deliberately exposes no active-provider controls: the resource may use
|
||||
* the helper for one bounded operation, then must dispose it without
|
||||
* publishing or replacing the active Replicator.
|
||||
*/
|
||||
export interface ResourceReplicator {
|
||||
closeReplication(): void | Promise<void>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user